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

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

Issue 2628053003: Remove extension group from DOMWrapperWorld. (Closed)
Patch Set: Fix GCCallbackTest Created 3 years, 11 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/renderer/BUILD.gn ('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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 const std::string& webview_partition_id() { return webview_partition_id_; } 80 const std::string& webview_partition_id() { return webview_partition_id_; }
81 81
82 bool activity_logging_enabled() const { return activity_logging_enabled_; } 82 bool activity_logging_enabled() const { return activity_logging_enabled_; }
83 83
84 void OnRenderFrameCreated(content::RenderFrame* render_frame); 84 void OnRenderFrameCreated(content::RenderFrame* render_frame);
85 85
86 bool IsExtensionActive(const std::string& extension_id) const; 86 bool IsExtensionActive(const std::string& extension_id) const;
87 87
88 void DidCreateScriptContext(blink::WebLocalFrame* frame, 88 void DidCreateScriptContext(blink::WebLocalFrame* frame,
89 const v8::Local<v8::Context>& context, 89 const v8::Local<v8::Context>& context,
90 int extension_group,
91 int world_id); 90 int world_id);
92 91
93 // Runs on a different thread and should only use thread safe member 92 // Runs on a different thread and should only use thread safe member
94 // variables. 93 // variables.
95 void DidInitializeServiceWorkerContextOnWorkerThread( 94 void DidInitializeServiceWorkerContextOnWorkerThread(
96 v8::Local<v8::Context> v8_context, 95 v8::Local<v8::Context> v8_context,
97 int64_t service_worker_version_id, 96 int64_t service_worker_version_id,
98 const GURL& url); 97 const GURL& url);
99 98
100 void WillReleaseScriptContext(blink::WebLocalFrame* frame, 99 void WillReleaseScriptContext(blink::WebLocalFrame* frame,
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // 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
291 // empty. 290 // empty.
292 std::string webview_partition_id_; 291 std::string webview_partition_id_;
293 292
294 DISALLOW_COPY_AND_ASSIGN(Dispatcher); 293 DISALLOW_COPY_AND_ASSIGN(Dispatcher);
295 }; 294 };
296 295
297 } // namespace extensions 296 } // namespace extensions
298 297
299 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_ 298 #endif // EXTENSIONS_RENDERER_DISPATCHER_H_
OLDNEW
« no previous file with comments | « extensions/renderer/BUILD.gn ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698