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

Side by Side Diff: extensions/renderer/dispatcher.h

Issue 2820333003: Revert of Communicate ExtensionSettings policy to renderers (Closed)
Patch Set: Created 3 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
« no previous file with comments | « extensions/common/url_pattern_unittest.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_ 5 #ifndef EXTENSIONS_RENDERER_DISPATCHER_H_
6 #define EXTENSIONS_RENDERER_DISPATCHER_H_ 6 #define EXTENSIONS_RENDERER_DISPATCHER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 24 matching lines...) Expand all
35 #include "v8/include/v8.h" 35 #include "v8/include/v8.h"
36 36
37 class ChromeRenderViewTest; 37 class ChromeRenderViewTest;
38 class GURL; 38 class GURL;
39 class ModuleSystem; 39 class ModuleSystem;
40 struct ExtensionMsg_DispatchEvent_Params; 40 struct ExtensionMsg_DispatchEvent_Params;
41 struct ExtensionMsg_ExternalConnectionInfo; 41 struct ExtensionMsg_ExternalConnectionInfo;
42 struct ExtensionMsg_Loaded_Params; 42 struct ExtensionMsg_Loaded_Params;
43 struct ExtensionMsg_TabConnectionInfo; 43 struct ExtensionMsg_TabConnectionInfo;
44 struct ExtensionMsg_UpdatePermissions_Params; 44 struct ExtensionMsg_UpdatePermissions_Params;
45 struct ExtensionMsg_UpdateDefaultPolicyHostRestrictions_Params;
46 45
47 namespace blink { 46 namespace blink {
48 class WebLocalFrame; 47 class WebLocalFrame;
49 } 48 }
50 49
51 namespace base { 50 namespace base {
52 class ListValue; 51 class ListValue;
53 } 52 }
54 53
55 namespace extensions { 54 namespace extensions {
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 void OnSetScriptingWhitelist( 176 void OnSetScriptingWhitelist(
178 const ExtensionsClient::ScriptingWhitelist& extension_ids); 177 const ExtensionsClient::ScriptingWhitelist& extension_ids);
179 void OnSetSystemFont(const std::string& font_family, 178 void OnSetSystemFont(const std::string& font_family,
180 const std::string& font_size); 179 const std::string& font_size);
181 void OnSetWebViewPartitionID(const std::string& partition_id); 180 void OnSetWebViewPartitionID(const std::string& partition_id);
182 void OnShouldSuspend(const std::string& extension_id, uint64_t sequence_id); 181 void OnShouldSuspend(const std::string& extension_id, uint64_t sequence_id);
183 void OnSuspend(const std::string& extension_id); 182 void OnSuspend(const std::string& extension_id);
184 void OnTransferBlobs(const std::vector<std::string>& blob_uuids); 183 void OnTransferBlobs(const std::vector<std::string>& blob_uuids);
185 void OnUnloaded(const std::string& id); 184 void OnUnloaded(const std::string& id);
186 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params); 185 void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params);
187 void OnUpdateDefaultPolicyHostRestrictions(
188 const ExtensionMsg_UpdateDefaultPolicyHostRestrictions_Params& params);
189 void OnUpdateTabSpecificPermissions(const GURL& visible_url, 186 void OnUpdateTabSpecificPermissions(const GURL& visible_url,
190 const std::string& extension_id, 187 const std::string& extension_id,
191 const URLPatternSet& new_hosts, 188 const URLPatternSet& new_hosts,
192 bool update_origin_whitelist, 189 bool update_origin_whitelist,
193 int tab_id); 190 int tab_id);
194 void OnClearTabSpecificPermissions( 191 void OnClearTabSpecificPermissions(
195 const std::vector<std::string>& extension_ids, 192 const std::vector<std::string>& extension_ids,
196 bool update_origin_whitelist, 193 bool update_origin_whitelist,
197 int tab_id); 194 int tab_id);
198 195
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 // if this renderer is a WebView guest render process. Otherwise, this will be 289 // if this renderer is a WebView guest render process. Otherwise, this will be
293 // empty. 290 // empty.
294 std::string webview_partition_id_; 291 std::string webview_partition_id_;
295 292
296 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 293 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
297 }; 294 };
298 295
299 } // namespace extensions 296 } // namespace extensions
300 297
301 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ 298 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « extensions/common/url_pattern_unittest.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698