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

Unified Diff: extensions/common/extension_messages.h

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 months 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 | « extensions/common/extension_message_generator.cc ('k') | extensions/common/extension_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/extension_messages.h
diff --git a/chrome/common/extensions/extension_messages.h b/extensions/common/extension_messages.h
similarity index 96%
rename from chrome/common/extensions/extension_messages.h
rename to extensions/common/extension_messages.h
index e43b3c8d24d41b5ee3ad75ff732d0e6757f7ed1d..cd829436e605c01f7a9e9dcc4636bb844befc24b 100644
--- a/chrome/common/extensions/extension_messages.h
+++ b/extensions/common/extension_messages.h
@@ -14,7 +14,6 @@
#include "chrome/common/extensions/permissions/media_galleries_permission_data.h"
#include "chrome/common/extensions/permissions/socket_permission_data.h"
#include "chrome/common/extensions/permissions/usb_device_permission_data.h"
-#include "chrome/common/web_application_info.h"
#include "content/public/common/common_param_traits.h"
#include "content/public/common/socket_permission_request.h"
#include "extensions/common/draggable_region.h"
@@ -160,20 +159,6 @@ IPC_STRUCT_BEGIN(ExtensionMsg_UpdatePermissions_Params)
IPC_STRUCT_MEMBER(extensions::URLPatternSet, scriptable_hosts)
IPC_STRUCT_END()
-IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo::IconInfo)
- IPC_STRUCT_TRAITS_MEMBER(url)
- IPC_STRUCT_TRAITS_MEMBER(width)
- IPC_STRUCT_TRAITS_MEMBER(height)
- IPC_STRUCT_TRAITS_MEMBER(data)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(WebApplicationInfo)
- IPC_STRUCT_TRAITS_MEMBER(title)
- IPC_STRUCT_TRAITS_MEMBER(description)
- IPC_STRUCT_TRAITS_MEMBER(app_url)
- IPC_STRUCT_TRAITS_MEMBER(icons)
-IPC_STRUCT_TRAITS_END()
-
IPC_STRUCT_TRAITS_BEGIN(extensions::DraggableRegion)
IPC_STRUCT_TRAITS_MEMBER(draggable)
IPC_STRUCT_TRAITS_MEMBER(bounds)
@@ -209,8 +194,8 @@ IPC_STRUCT_TRAITS_BEGIN(extensions::Message)
IPC_STRUCT_TRAITS_END()
// Singly-included section for custom IPC traits.
-#ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGES_H_
-#define CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGES_H_
+#ifndef EXTENSIONS_COMMON_EXTENSION_MESSAGES_H_
+#define EXTENSIONS_COMMON_EXTENSION_MESSAGES_H_
// IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need
// to typedef it to avoid that.
@@ -310,7 +295,7 @@ struct ParamTraits<ExtensionMsg_Loaded_Params> {
} // namespace IPC
-#endif // CHROME_COMMON_EXTENSIONS_EXTENSION_MESSAGES_H_
+#endif // EXTENSIONS_COMMON_EXTENSION_MESSAGES_H_
// Messages sent from the browser to the renderer.
@@ -377,11 +362,6 @@ IPC_MESSAGE_ROUTED1(ExtensionMsg_ExecuteCode,
IPC_MESSAGE_CONTROL1(ExtensionMsg_UpdateUserScripts,
base::SharedMemoryHandle)
-// Requests application info for the page. The renderer responds back with
-// ExtensionHostMsg_DidGetApplicationInfo.
-IPC_MESSAGE_ROUTED1(ExtensionMsg_GetApplicationInfo,
- int32 /*page_id*/)
-
// Tell the render view which browser window it's being attached to.
IPC_MESSAGE_ROUTED1(ExtensionMsg_UpdateBrowserWindowId,
int /* id of browser window */)
@@ -599,10 +579,6 @@ IPC_MESSAGE_ROUTED3(ExtensionHostMsg_ContentScriptsExecuting,
int32 /* page_id of the _topmost_ frame */,
GURL /* url of the _topmost_ frame */)
-IPC_MESSAGE_ROUTED2(ExtensionHostMsg_DidGetApplicationInfo,
- int32 /* page_id */,
- WebApplicationInfo)
-
// Sent by the renderer to implement chrome.webstore.install().
IPC_MESSAGE_ROUTED4(ExtensionHostMsg_InlineWebstoreInstall,
int32 /* install id */,
« no previous file with comments | « extensions/common/extension_message_generator.cc ('k') | extensions/common/extension_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698