1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_FRAME_FF_PRIVILEGE_CHECK_H_
6 #define CHROME_FRAME_FF_PRIVILEGE_CHECK_H_
8 // Returns true iff we're being invoked in a privileged document
10 // An example privileged document is when the plugin is instantiated
11 // in browser chrome by XUL.
12 bool IsFireFoxPrivilegedInvocation(NPP instance
);
14 #endif // CHROME_FRAME_FF_PRIVILEGE_CHECK_H_