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

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

Issue 8769013: Remove BrowserThread::UnsafeGetBrowserThread, add UnsafeGetMessageLoopForThread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to lkgr (pure merge). Created 9 years 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // interleave cleanup with threads being stopped. 57 // interleave cleanup with threads being stopped.
58 void StartTearDown(); 58 void StartTearDown();
59 void PreStopThread(content::BrowserThread::ID identifier); 59 void PreStopThread(content::BrowserThread::ID identifier);
60 void PostStopThread(content::BrowserThread::ID identifier); 60 void PostStopThread(content::BrowserThread::ID identifier);
61 61
62 // BrowserProcess methods 62 // BrowserProcess methods
63 virtual void EndSession() OVERRIDE; 63 virtual void EndSession() OVERRIDE;
64 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE; 64 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE;
65 virtual MetricsService* metrics_service() OVERRIDE; 65 virtual MetricsService* metrics_service() OVERRIDE;
66 virtual IOThread* io_thread() OVERRIDE; 66 virtual IOThread* io_thread() OVERRIDE;
67 virtual base::Thread* file_thread() OVERRIDE;
68 virtual base::Thread* db_thread() OVERRIDE;
69 virtual WatchDogThread* watchdog_thread() OVERRIDE; 67 virtual WatchDogThread* watchdog_thread() OVERRIDE;
70 #if defined(OS_CHROMEOS)
71 virtual base::Thread* web_socket_proxy_thread() OVERRIDE;
72 #endif
73 virtual ProfileManager* profile_manager() OVERRIDE; 68 virtual ProfileManager* profile_manager() OVERRIDE;
74 virtual PrefService* local_state() OVERRIDE; 69 virtual PrefService* local_state() OVERRIDE;
75 virtual SidebarManager* sidebar_manager() OVERRIDE; 70 virtual SidebarManager* sidebar_manager() OVERRIDE;
76 virtual ui::Clipboard* clipboard() OVERRIDE; 71 virtual ui::Clipboard* clipboard() OVERRIDE;
77 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 72 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
78 #if defined(OS_CHROMEOS) 73 #if defined(OS_CHROMEOS)
79 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE; 74 virtual browser::OomPriorityManager* oom_priority_manager() OVERRIDE;
80 #endif // defined(OS_CHROMEOS) 75 #endif // defined(OS_CHROMEOS)
81 virtual ExtensionEventRouterForwarder* 76 virtual ExtensionEventRouterForwarder*
82 extension_event_router_forwarder() OVERRIDE; 77 extension_event_router_forwarder() OVERRIDE;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
283 #if !defined(OS_CHROMEOS) 278 #if !defined(OS_CHROMEOS)
284 scoped_ptr<ComponentUpdateService> component_updater_; 279 scoped_ptr<ComponentUpdateService> component_updater_;
285 280
286 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 281 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
287 #endif 282 #endif
288 283
289 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 284 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
290 }; 285 };
291 286
292 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 287 #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