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

Unified Diff: chrome/common/extensions/extension_messages.h

Issue 11312228: Move extension_error_utils.* and url_pattern_set.* into (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: hate Created 8 years, 1 month 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/extensions/extension_error_utils.cc ('k') | chrome/common/extensions/extension_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/chrome/common/extensions/extension_messages.h
index a28b152e65a5472e1034cb988a24b821f53631da..1a07eef984a541091eb0517e0aa23f67eb8b1735 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/chrome/common/extensions/extension_messages.h
@@ -11,11 +11,11 @@
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/permissions/permission_set.h"
#include "chrome/common/extensions/permissions/socket_permission_data.h"
-#include "chrome/common/extensions/url_pattern_set.h"
#include "chrome/common/view_type.h"
#include "chrome/common/web_apps.h"
#include "content/public/common/common_param_traits.h"
#include "extensions/common/url_pattern.h"
+#include "extensions/common/url_pattern_set.h"
#include "googleurl/src/gurl.h"
#include "ipc/ipc_message_macros.h"
@@ -135,8 +135,8 @@ struct ExtensionMsg_Loaded_Params {
// The extension's active permissions.
extensions::APIPermissionSet apis;
- URLPatternSet explicit_hosts;
- URLPatternSet scriptable_hosts;
+ extensions::URLPatternSet explicit_hosts;
+ extensions::URLPatternSet scriptable_hosts;
// We keep this separate so that it can be used in logging.
std::string id;
@@ -156,8 +156,8 @@ struct ParamTraits<URLPattern> {
};
template <>
-struct ParamTraits<URLPatternSet> {
- typedef URLPatternSet param_type;
+struct ParamTraits<extensions::URLPatternSet> {
+ typedef extensions::URLPatternSet param_type;
static void Write(Message* m, const param_type& p);
static bool Read(const Message* m, PickleIterator* iter, param_type* p);
static void Log(const param_type& p, std::string* l);
@@ -282,15 +282,15 @@ IPC_MESSAGE_CONTROL5(ExtensionMsg_UpdatePermissions,
int /* UpdateExtensionPermissionsInfo::REASON */,
std::string /* extension_id */,
extensions::APIPermissionSet /* permissions */,
- URLPatternSet /* explicit_hosts */,
- URLPatternSet /* scriptable_hosts */)
+ extensions::URLPatternSet /* explicit_hosts */,
+ extensions::URLPatternSet /* scriptable_hosts */)
// Tell the renderer about new tab-specific permissions for an extension.
IPC_MESSAGE_CONTROL4(ExtensionMsg_UpdateTabSpecificPermissions,
int32 /* page_id (only relevant for the target tab) */,
int /* tab_id */,
std::string /* extension_id */,
- URLPatternSet /* hosts */)
+ extensions::URLPatternSet /* hosts */)
// Tell the renderer to clear tab-specific permissions for some extensions.
IPC_MESSAGE_CONTROL2(ExtensionMsg_ClearTabSpecificPermissions,
« no previous file with comments | « chrome/common/extensions/extension_error_utils.cc ('k') | chrome/common/extensions/extension_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698