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

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

Issue 2254383002: Signal extension API schema corruption to the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 4 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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 813 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 // Sent by the renderer when it has received a Blob handle from the browser. 824 // Sent by the renderer when it has received a Blob handle from the browser.
825 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck, 825 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_TransferBlobsAck,
826 std::vector<std::string> /* blob_uuids */) 826 std::vector<std::string> /* blob_uuids */)
827 827
828 // Asks the browser to wake the event page of an extension. 828 // Asks the browser to wake the event page of an extension.
829 // The browser will reply with ExtensionHostMsg_WakeEventPageResponse. 829 // The browser will reply with ExtensionHostMsg_WakeEventPageResponse.
830 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_WakeEventPage, 830 IPC_MESSAGE_CONTROL2(ExtensionHostMsg_WakeEventPage,
831 int /* request_id */, 831 int /* request_id */,
832 std::string /* extension_id */) 832 std::string /* extension_id */)
833 833
834 // Notifies the browser that the specified extension API schema could not be
835 // parsed.
836 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_NotifyBadExtensionApiSchema,
837 std::string /* api */);
838
834 // Tells listeners that a detailed message was reported to the console by 839 // Tells listeners that a detailed message was reported to the console by
835 // WebKit. 840 // WebKit.
836 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded, 841 IPC_MESSAGE_ROUTED4(ExtensionHostMsg_DetailedConsoleMessageAdded,
837 base::string16 /* message */, 842 base::string16 /* message */,
838 base::string16 /* source */, 843 base::string16 /* source */,
839 extensions::StackTrace /* stack trace */, 844 extensions::StackTrace /* stack trace */,
840 int32_t /* severity level */) 845 int32_t /* severity level */)
841 846
842 // Sent when a query selector request is made from the automation API. 847 // Sent when a query selector request is made from the automation API.
843 // acc_obj_id is the accessibility tree ID of the starting element. 848 // acc_obj_id is the accessibility tree ID of the starting element.
(...skipping 26 matching lines...) Expand all
870 875
871 // The browser sends this message in response to all service worker extension 876 // The browser sends this message in response to all service worker extension
872 // api calls. The response data (if any) is one of the base::Value subclasses, 877 // api calls. The response data (if any) is one of the base::Value subclasses,
873 // wrapped as the first element in a ListValue. 878 // wrapped as the first element in a ListValue.
874 IPC_MESSAGE_CONTROL5(ExtensionMsg_ResponseWorker, 879 IPC_MESSAGE_CONTROL5(ExtensionMsg_ResponseWorker,
875 int /* thread_id */, 880 int /* thread_id */,
876 int /* request_id */, 881 int /* request_id */,
877 bool /* success */, 882 bool /* success */,
878 base::ListValue /* response wrapper (see comment above) */, 883 base::ListValue /* response wrapper (see comment above) */,
879 std::string /* error */) 884 std::string /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698