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

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

Issue 8775014: Remove IOThread::message_loop(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 void PostStartThread(content::BrowserThread::ID identifier); 52 void PostStartThread(content::BrowserThread::ID identifier);
53 53
54 // Most cleanup is done by these functions, driven from 54 // Most cleanup is done by these functions, driven from
55 // ChromeBrowserMain based on notifications from the content 55 // ChromeBrowserMain based on notifications from the content
56 // framework, rather than in the destructor, so that we can 56 // framework, rather than in the destructor, so that we can
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 base::Thread* process_launcher_thread();
63
64 // BrowserProcess methods 62 // BrowserProcess methods
65 virtual void EndSession() OVERRIDE; 63 virtual void EndSession() OVERRIDE;
66 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE; 64 virtual ResourceDispatcherHost* resource_dispatcher_host() OVERRIDE;
67 virtual MetricsService* metrics_service() OVERRIDE; 65 virtual MetricsService* metrics_service() OVERRIDE;
68 virtual IOThread* io_thread() OVERRIDE; 66 virtual IOThread* io_thread() OVERRIDE;
69 virtual base::Thread* file_thread() OVERRIDE; 67 virtual base::Thread* file_thread() OVERRIDE;
70 virtual base::Thread* db_thread() OVERRIDE; 68 virtual base::Thread* db_thread() OVERRIDE;
71 virtual base::Thread* cache_thread() OVERRIDE;
72 virtual WatchDogThread* watchdog_thread() OVERRIDE; 69 virtual WatchDogThread* watchdog_thread() OVERRIDE;
73 #if defined(OS_CHROMEOS) 70 #if defined(OS_CHROMEOS)
74 virtual base::Thread* web_socket_proxy_thread() OVERRIDE; 71 virtual base::Thread* web_socket_proxy_thread() OVERRIDE;
75 #endif 72 #endif
76 virtual ProfileManager* profile_manager() OVERRIDE; 73 virtual ProfileManager* profile_manager() OVERRIDE;
77 virtual PrefService* local_state() OVERRIDE; 74 virtual PrefService* local_state() OVERRIDE;
78 virtual SidebarManager* sidebar_manager() OVERRIDE; 75 virtual SidebarManager* sidebar_manager() OVERRIDE;
79 virtual ui::Clipboard* clipboard() OVERRIDE; 76 virtual ui::Clipboard* clipboard() OVERRIDE;
80 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 77 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
81 #if defined(OS_CHROMEOS) 78 #if defined(OS_CHROMEOS)
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 #if !defined(OS_CHROMEOS) 286 #if !defined(OS_CHROMEOS)
290 scoped_ptr<ComponentUpdateService> component_updater_; 287 scoped_ptr<ComponentUpdateService> component_updater_;
291 288
292 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 289 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
293 #endif 290 #endif
294 291
295 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 292 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
296 }; 293 };
297 294
298 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 295 #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