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

Unified Diff: extensions/renderer/dispatcher.h

Issue 956313002: ChromeContentRendererClient should not rely on Dispatcher::is_extension_process (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing ifdefs Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/dispatcher.h
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index 44cb751a01e67321327e4affb5f6d52651b6f233..2e976a4db42517e8658da8ee2d8e8c6bd22c85de 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -72,8 +72,6 @@ class Dispatcher : public content::RenderProcessObserver,
return function_names_;
}
- bool is_extension_process() const { return is_extension_process_; }
-
const ExtensionSet* extensions() const { return &extensions_; }
const ScriptContextSet& script_context_set() const {
@@ -267,8 +265,8 @@ class Dispatcher : public content::RenderProcessObserver,
// Dispatcher's own lifetime.
DispatcherDelegate* delegate_;
- // True if this renderer is running extensions.
- bool is_extension_process_;
+ // True if the IdleNotification timer should be set.
+ bool set_idle_notifications_;
// Contains all loaded extensions. This is essentially the renderer
// counterpart to ExtensionService in the browser. It contains information
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client.cc ('k') | extensions/renderer/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698