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

Side by Side Diff: chrome/browser/browser_process_impl.h

Issue 6598002: Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 9 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
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual base::Thread* process_launcher_thread(); 55 virtual base::Thread* process_launcher_thread();
56 virtual base::Thread* cache_thread(); 56 virtual base::Thread* cache_thread();
57 #if defined(USE_X11) 57 #if defined(USE_X11)
58 virtual base::Thread* background_x11_thread(); 58 virtual base::Thread* background_x11_thread();
59 #endif 59 #endif
60 virtual ProfileManager* profile_manager(); 60 virtual ProfileManager* profile_manager();
61 virtual PrefService* local_state(); 61 virtual PrefService* local_state();
62 virtual DevToolsManager* devtools_manager(); 62 virtual DevToolsManager* devtools_manager();
63 virtual SidebarManager* sidebar_manager(); 63 virtual SidebarManager* sidebar_manager();
64 virtual ui::Clipboard* clipboard(); 64 virtual ui::Clipboard* clipboard();
65 virtual ExtensionEventRouterForwarder* extension_event_router_forwarder();
65 virtual NotificationUIManager* notification_ui_manager(); 66 virtual NotificationUIManager* notification_ui_manager();
66 virtual policy::BrowserPolicyConnector* browser_policy_connector(); 67 virtual policy::BrowserPolicyConnector* browser_policy_connector();
67 virtual IconManager* icon_manager(); 68 virtual IconManager* icon_manager();
68 virtual ThumbnailGenerator* GetThumbnailGenerator(); 69 virtual ThumbnailGenerator* GetThumbnailGenerator();
69 virtual AutomationProviderList* InitAutomationProviderList(); 70 virtual AutomationProviderList* InitAutomationProviderList();
70 virtual void InitDevToolsHttpProtocolHandler( 71 virtual void InitDevToolsHttpProtocolHandler(
71 const std::string& ip, 72 const std::string& ip,
72 int port, 73 int port,
73 const std::string& frontend_url); 74 const std::string& frontend_url);
74 virtual void InitDevToolsLegacyProtocolHandler(int port); 75 virtual void InitDevToolsLegacyProtocolHandler(int port);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 173
173 bool created_profile_manager_; 174 bool created_profile_manager_;
174 scoped_ptr<ProfileManager> profile_manager_; 175 scoped_ptr<ProfileManager> profile_manager_;
175 176
176 bool created_local_state_; 177 bool created_local_state_;
177 scoped_ptr<PrefService> local_state_; 178 scoped_ptr<PrefService> local_state_;
178 179
179 bool created_icon_manager_; 180 bool created_icon_manager_;
180 scoped_ptr<IconManager> icon_manager_; 181 scoped_ptr<IconManager> icon_manager_;
181 182
183 scoped_refptr<ExtensionEventRouterForwarder>
184 extension_event_router_forwarder_;
185
182 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_; 186 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_;
183 187
184 scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_; 188 scoped_refptr<DevToolsProtocolHandler> devtools_legacy_handler_;
185 189
186 bool created_devtools_manager_; 190 bool created_devtools_manager_;
187 scoped_refptr<DevToolsManager> devtools_manager_; 191 scoped_refptr<DevToolsManager> devtools_manager_;
188 192
189 bool created_sidebar_manager_; 193 bool created_sidebar_manager_;
190 scoped_refptr<SidebarManager> sidebar_manager_; 194 scoped_refptr<SidebarManager> sidebar_manager_;
191 195
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // restarted, and if that's the case, restarts the browser. 267 // restarted, and if that's the case, restarts the browser.
264 void OnAutoupdateTimer(); 268 void OnAutoupdateTimer();
265 bool CanAutorestartForUpdate() const; 269 bool CanAutorestartForUpdate() const;
266 void RestartPersistentInstance(); 270 void RestartPersistentInstance();
267 #endif // defined(OS_WIN) || defined(OS_LINUX) 271 #endif // defined(OS_WIN) || defined(OS_LINUX)
268 272
269 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 273 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
270 }; 274 };
271 275
272 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 276 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698