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

Side by Side Diff: extensions/common/extension_messages.h

Issue 201203006: Move basic API permissions code out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move moar things 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for extensions. 5 // IPC messages for extensions.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/shared_memory.h" 11 #include "base/memory/shared_memory.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/common/extensions/api/messaging/message.h"
14 #include "chrome/common/extensions/permissions/media_galleries_permission_data.h "
15 #include "chrome/common/extensions/permissions/socket_permission_data.h"
16 #include "chrome/common/extensions/permissions/usb_device_permission_data.h"
17 #include "content/public/common/common_param_traits.h" 13 #include "content/public/common/common_param_traits.h"
18 #include "content/public/common/socket_permission_request.h" 14 #include "content/public/common/socket_permission_request.h"
15 #include "extensions/common/api/messaging/message.h"
19 #include "extensions/common/draggable_region.h" 16 #include "extensions/common/draggable_region.h"
20 #include "extensions/common/extension.h" 17 #include "extensions/common/extension.h"
21 #include "extensions/common/extensions_client.h" 18 #include "extensions/common/extensions_client.h"
19 #include "extensions/common/permissions/media_galleries_permission_data.h"
22 #include "extensions/common/permissions/permission_set.h" 20 #include "extensions/common/permissions/permission_set.h"
21 #include "extensions/common/permissions/socket_permission_data.h"
22 #include "extensions/common/permissions/usb_device_permission_data.h"
23 #include "extensions/common/url_pattern.h" 23 #include "extensions/common/url_pattern.h"
24 #include "extensions/common/url_pattern_set.h" 24 #include "extensions/common/url_pattern_set.h"
25 #include "extensions/common/view_type.h" 25 #include "extensions/common/view_type.h"
26 #include "ipc/ipc_message_macros.h" 26 #include "ipc/ipc_message_macros.h"
27 #include "url/gurl.h" 27 #include "url/gurl.h"
28 28
29 #define IPC_MESSAGE_START ExtensionMsgStart 29 #define IPC_MESSAGE_START ExtensionMsgStart
30 30
31 IPC_ENUM_TRAITS_MAX_VALUE(extensions::ViewType, extensions::VIEW_TYPE_LAST) 31 IPC_ENUM_TRAITS_MAX_VALUE(extensions::ViewType, extensions::VIEW_TYPE_LAST)
32 IPC_ENUM_TRAITS_MAX_VALUE(content::SocketPermissionRequest::OperationType, 32 IPC_ENUM_TRAITS_MAX_VALUE(content::SocketPermissionRequest::OperationType,
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 // certain conditions. This message is sent in response to several events: 639 // certain conditions. This message is sent in response to several events:
640 // 640 //
641 // * ExtensionMsg_WatchPages was received, updating the set of conditions. 641 // * ExtensionMsg_WatchPages was received, updating the set of conditions.
642 // * A new page is loaded. This will be sent after 642 // * A new page is loaded. This will be sent after
643 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the 643 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the
644 // main frame. 644 // main frame.
645 // * Something changed on an existing frame causing the set of matching searches 645 // * Something changed on an existing frame causing the set of matching searches
646 // to change. 646 // to change.
647 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, 647 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
648 std::vector<std::string> /* Matching CSS selectors */) 648 std::vector<std::string> /* Matching CSS selectors */)
OLDNEW
« no previous file with comments | « extensions/common/api/messaging/message.h ('k') | extensions/common/permissions/media_galleries_permission.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698