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

Side by Side Diff: chrome/browser/renderer_host/chrome_render_message_filter.h

Issue 13726026: Added ActivityLog tests and associated bugfixes/extra logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted two changes Created 7 years, 8 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 void OnExtensionCloseChannel(int port_id, const std::string& error_message); 147 void OnExtensionCloseChannel(int port_id, const std::string& error_message);
148 void OnExtensionRequestForIOThread( 148 void OnExtensionRequestForIOThread(
149 int routing_id, 149 int routing_id,
150 const ExtensionHostMsg_Request_Params& params); 150 const ExtensionHostMsg_Request_Params& params);
151 void OnExtensionShouldSuspendAck(const std::string& extension_id, 151 void OnExtensionShouldSuspendAck(const std::string& extension_id,
152 int sequence_id); 152 int sequence_id);
153 void OnExtensionSuspendAck(const std::string& extension_id); 153 void OnExtensionSuspendAck(const std::string& extension_id);
154 void OnExtensionGenerateUniqueID(int* unique_id); 154 void OnExtensionGenerateUniqueID(int* unique_id);
155 void OnExtensionResumeRequests(int route_id); 155 void OnExtensionResumeRequests(int route_id);
156 void OnAddAPIActionToExtensionActivityLog( 156 void OnAddAPIActionToExtensionActivityLog(
157 const std::string& call_type,
157 const std::string& extension_id, 158 const std::string& extension_id,
158 const ExtensionHostMsg_APIAction_Params& params); 159 const ExtensionHostMsg_APIAction_Params& params);
159 void OnAddDOMActionToExtensionActivityLog( 160 void OnAddDOMActionToExtensionActivityLog(
160 const std::string& extension_id, 161 const std::string& extension_id,
161 const ExtensionHostMsg_DOMAction_Params& params); 162 const ExtensionHostMsg_DOMAction_Params& params);
162 void OnAllowDatabase(int render_view_id, 163 void OnAllowDatabase(int render_view_id,
163 const GURL& origin_url, 164 const GURL& origin_url,
164 const GURL& top_origin_url, 165 const GURL& top_origin_url,
165 const string16& name, 166 const string16& name,
166 const string16& display_name, 167 const string16& display_name,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 scoped_refptr<ExtensionInfoMap> extension_info_map_; 201 scoped_refptr<ExtensionInfoMap> extension_info_map_;
201 // Used to look up permissions at database creation time. 202 // Used to look up permissions at database creation time.
202 scoped_refptr<CookieSettings> cookie_settings_; 203 scoped_refptr<CookieSettings> cookie_settings_;
203 204
204 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_; 205 base::WeakPtrFactory<ChromeRenderMessageFilter> weak_ptr_factory_;
205 206
206 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter); 207 DISALLOW_COPY_AND_ASSIGN(ChromeRenderMessageFilter);
207 }; 208 };
208 209
209 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_ 210 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_MESSAGE_FILTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698