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

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

Issue 2089333002: [Extensions] Add renderer-side logic to short circuit activity logging (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Guard adding dom activity loggers Created 4 years, 6 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 base::string16 /* selector */) 845 base::string16 /* selector */)
846 846
847 // Result of a query selector request. 847 // Result of a query selector request.
848 // result_acc_obj_id is the accessibility tree ID of the result element; 0 848 // result_acc_obj_id is the accessibility tree ID of the result element; 0
849 // indicates no result. 849 // indicates no result.
850 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result, 850 IPC_MESSAGE_ROUTED3(ExtensionHostMsg_AutomationQuerySelector_Result,
851 int /* request_id */, 851 int /* request_id */,
852 ExtensionHostMsg_AutomationQuerySelector_Error /* error */, 852 ExtensionHostMsg_AutomationQuerySelector_Error /* error */,
853 int /* result_acc_obj_id */) 853 int /* result_acc_obj_id */)
854 854
855 // Tells the renderer whether or not activity logging is enabled. This is only
856 // sent if logging is or was previously enabled; not being enabled is assumed
857 // otherwise.
858 IPC_MESSAGE_CONTROL1(ExtensionMsg_SetActivityLoggingEnabled, bool /* enabled */)
859
855 // Messages related to Extension Service Worker. 860 // Messages related to Extension Service Worker.
856 #undef IPC_MESSAGE_START 861 #undef IPC_MESSAGE_START
857 #define IPC_MESSAGE_START ExtensionWorkerMsgStart 862 #define IPC_MESSAGE_START ExtensionWorkerMsgStart
858 // A service worker thread sends this message when an extension service worker 863 // A service worker thread sends this message when an extension service worker
859 // starts an API request. The browser will always respond with a 864 // starts an API request. The browser will always respond with a
860 // ExtensionMsg_ResponseWorker. 865 // ExtensionMsg_ResponseWorker.
861 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_RequestWorker, 866 IPC_MESSAGE_CONTROL1(ExtensionHostMsg_RequestWorker,
862 ExtensionHostMsg_Request_Params) 867 ExtensionHostMsg_Request_Params)
863 868
864 // The browser sends this message in response to all service worker extension 869 // The browser sends this message in response to all service worker extension
865 // api calls. The response data (if any) is one of the base::Value subclasses, 870 // api calls. The response data (if any) is one of the base::Value subclasses,
866 // wrapped as the first element in a ListValue. 871 // wrapped as the first element in a ListValue.
867 IPC_MESSAGE_CONTROL5(ExtensionMsg_ResponseWorker, 872 IPC_MESSAGE_CONTROL5(ExtensionMsg_ResponseWorker,
868 int /* thread_id */, 873 int /* thread_id */,
869 int /* request_id */, 874 int /* request_id */,
870 bool /* success */, 875 bool /* success */,
871 base::ListValue /* response wrapper (see comment above) */, 876 base::ListValue /* response wrapper (see comment above) */,
872 std::string /* error */) 877 std::string /* error */)
OLDNEW
« no previous file with comments | « extensions/browser/renderer_startup_helper.cc ('k') | extensions/renderer/api_activity_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698