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

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

Issue 412643003: Fix the origin access whitelist for extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 static void Log(const param_type& p, std::string* l); 308 static void Log(const param_type& p, std::string* l);
309 }; 309 };
310 310
311 } // namespace IPC 311 } // namespace IPC
312 312
313 #endif // EXTENSIONS_COMMON_EXTENSION_MESSAGES_H_ 313 #endif // EXTENSIONS_COMMON_EXTENSION_MESSAGES_H_
314 314
315 // Parameters structure for ExtensionMsg_UpdatePermissions. 315 // Parameters structure for ExtensionMsg_UpdatePermissions.
316 IPC_STRUCT_BEGIN(ExtensionMsg_UpdatePermissions_Params) 316 IPC_STRUCT_BEGIN(ExtensionMsg_UpdatePermissions_Params)
317 IPC_STRUCT_MEMBER(std::string, extension_id) 317 IPC_STRUCT_MEMBER(std::string, extension_id)
318 IPC_STRUCT_MEMBER(bool, was_added)
318 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, active_permissions) 319 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, active_permissions)
319 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, withheld_permissions) 320 IPC_STRUCT_MEMBER(ExtensionMsg_PermissionSetStruct, withheld_permissions)
320 IPC_STRUCT_END() 321 IPC_STRUCT_END()
321 322
322 // Messages sent from the browser to the renderer. 323 // Messages sent from the browser to the renderer.
323 324
324 // The browser sends this message in response to all extension api calls. The 325 // The browser sends this message in response to all extension api calls. The
325 // response data (if any) is one of the base::Value subclasses, wrapped as the 326 // response data (if any) is one of the base::Value subclasses, wrapped as the
326 // first element in a ListValue. 327 // first element in a ListValue.
327 IPC_MESSAGE_ROUTED4(ExtensionMsg_Response, 328 IPC_MESSAGE_ROUTED4(ExtensionMsg_Response,
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the 678 // FrameHostMsg_DidCommitProvisionalLoad. Currently this only fires for the
678 // main frame. 679 // main frame.
679 // * Something changed on an existing frame causing the set of matching searches 680 // * Something changed on an existing frame causing the set of matching searches
680 // to change. 681 // to change.
681 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange, 682 IPC_MESSAGE_ROUTED1(ExtensionHostMsg_OnWatchedPageChange,
682 std::vector<std::string> /* Matching CSS selectors */) 683 std::vector<std::string> /* Matching CSS selectors */)
683 684
684 // Sent by the renderer when it has received a Blob handle from the browser. 685 // Sent by the renderer when it has received a Blob handle from the browser.
685 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, 686 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck,
686 std::vector<std::string> /* blob_uuids */) 687 std::vector<std::string> /* blob_uuids */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698