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

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

Issue 7058041: Remove ResourceDispatcherHost dependency on Chrome's LoginHandler and ExternalProtocolHandler. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 9 years, 6 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 | « no previous file | 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 10 matching lines...) Expand all
21 #include "chrome/browser/browser_process.h" 21 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/download/download_status_updater.h" 22 #include "chrome/browser/download/download_status_updater.h"
23 #include "chrome/browser/prefs/pref_change_registrar.h" 23 #include "chrome/browser/prefs/pref_change_registrar.h"
24 #include "chrome/browser/prefs/pref_member.h" 24 #include "chrome/browser/prefs/pref_member.h"
25 #include "chrome/browser/tab_contents/thumbnail_generator.h" 25 #include "chrome/browser/tab_contents/thumbnail_generator.h"
26 #include "content/common/notification_observer.h" 26 #include "content/common/notification_observer.h"
27 #include "content/common/notification_registrar.h" 27 #include "content/common/notification_registrar.h"
28 #include "ipc/ipc_message.h" 28 #include "ipc/ipc_message.h"
29 29
30 class ChromeNetLog; 30 class ChromeNetLog;
31 class ChromeResourceDispatcherHostObserver; 31 class ChromeResourceDispatcherHostDelegate;
32 class CommandLine; 32 class CommandLine;
33 class DevToolsHttpProtocolHandler; 33 class DevToolsHttpProtocolHandler;
34 class DevToolsProtocolHandler; 34 class DevToolsProtocolHandler;
35 class FilePath; 35 class FilePath;
36 class NotificationService; 36 class NotificationService;
37 class PluginDataRemover; 37 class PluginDataRemover;
38 class TabCloseableStateWatcher; 38 class TabCloseableStateWatcher;
39 39
40 // Real implementation of BrowserProcess that creates and returns the services. 40 // Real implementation of BrowserProcess that creates and returns the services.
41 class BrowserProcessImpl : public BrowserProcess, 41 class BrowserProcessImpl : public BrowserProcess,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // An event that notifies when we are shutting-down. 279 // An event that notifies when we are shutting-down.
280 scoped_ptr<base::WaitableEvent> shutdown_event_; 280 scoped_ptr<base::WaitableEvent> shutdown_event_;
281 281
282 // Ensures that the observers of plugin/print disable/enable state 282 // Ensures that the observers of plugin/print disable/enable state
283 // notifications are properly added and removed. 283 // notifications are properly added and removed.
284 PrefChangeRegistrar pref_change_registrar_; 284 PrefChangeRegistrar pref_change_registrar_;
285 285
286 // Lives here so can safely log events on shutdown. 286 // Lives here so can safely log events on shutdown.
287 scoped_ptr<ChromeNetLog> net_log_; 287 scoped_ptr<ChromeNetLog> net_log_;
288 288
289 // Ordered before resource_dispatcher_host_observer_ due to destruction 289 // Ordered before resource_dispatcher_host_delegate_ due to destruction
290 // ordering. 290 // ordering.
291 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 291 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
292 292
293 scoped_ptr<ChromeResourceDispatcherHostObserver> 293 scoped_ptr<ChromeResourceDispatcherHostDelegate>
294 resource_dispatcher_host_observer_; 294 resource_dispatcher_host_delegate_;
295 295
296 NotificationRegistrar notification_registrar_; 296 NotificationRegistrar notification_registrar_;
297 scoped_refptr<PluginDataRemover> plugin_data_remover_; 297 scoped_refptr<PluginDataRemover> plugin_data_remover_;
298 298
299 // Monitors the state of the 'DisablePluginFinder' policy. 299 // Monitors the state of the 'DisablePluginFinder' policy.
300 BooleanPrefMember plugin_finder_disabled_pref_; 300 BooleanPrefMember plugin_finder_disabled_pref_;
301 301
302 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 302 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
303 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_; 303 base::RepeatingTimer<BrowserProcessImpl> autoupdate_timer_;
304 304
305 // Gets called by autoupdate timer to see if browser needs restart and can be 305 // Gets called by autoupdate timer to see if browser needs restart and can be
306 // restarted, and if that's the case, restarts the browser. 306 // restarted, and if that's the case, restarts the browser.
307 void OnAutoupdateTimer(); 307 void OnAutoupdateTimer();
308 bool CanAutorestartForUpdate() const; 308 bool CanAutorestartForUpdate() const;
309 void RestartPersistentInstance(); 309 void RestartPersistentInstance();
310 #endif // defined(OS_WIN) || defined(OS_LINUX) 310 #endif // defined(OS_WIN) || defined(OS_LINUX)
311 311
312 #if defined(OS_CHROMEOS) 312 #if defined(OS_CHROMEOS)
313 scoped_refptr<chromeos::ProxyConfigServiceImpl> 313 scoped_refptr<chromeos::ProxyConfigServiceImpl>
314 chromeos_proxy_config_service_impl_; 314 chromeos_proxy_config_service_impl_;
315 #endif 315 #endif
316 316
317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 317 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
318 }; 318 };
319 319
320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 320 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698