Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3587)

Unified Diff: chrome/common/pepper_permission_util.h

Issue 102103005: Move c/c/e/extension_set to top-level extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/common/pepper_permission_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pepper_permission_util.h
diff --git a/chrome/common/pepper_permission_util.h b/chrome/common/pepper_permission_util.h
index 81e48bae6adad1fe8716b984e650b24e39952b40..58a20e5fb16cc5b20bc136c9fb12c696557bb4a4 100644
--- a/chrome/common/pepper_permission_util.h
+++ b/chrome/common/pepper_permission_util.h
@@ -8,15 +8,18 @@
#include <set>
#include <string>
-class ExtensionSet;
class GURL;
+namespace extensions {
+class ExtensionSet;
+}
+
namespace chrome {
// Returns true if the extension (or an imported module if any) is whitelisted.
bool IsExtensionOrSharedModuleWhitelisted(
const GURL& url,
- const ExtensionSet* extension_set,
+ const extensions::ExtensionSet* extension_set,
const std::set<std::string>& whitelist);
// Checks whether the host of |url| is allowed by |command_line_switch|.
@@ -26,7 +29,7 @@ bool IsExtensionOrSharedModuleWhitelisted(
// (2) a list of host names separated by ',': returns true if |host| is in the
// list. (NOTE: In this case, |url| doesn't have to belong to an extension.)
bool IsHostAllowedByCommandLine(const GURL& url,
- const ExtensionSet* extension_set,
+ const extensions::ExtensionSet* extension_set,
const char* command_line_switch);
} // namespace chrome
« no previous file with comments | « chrome/common/localized_error.cc ('k') | chrome/common/pepper_permission_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698