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

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

Issue 14698027: Move winaura specific methods and members from chrome/browser/browser_process.h to chrome/browser/b… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix includes in testing_browser_process_platform_part.h Created 7 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 23 matching lines...) Expand all
34 34
35 namespace base { 35 namespace base {
36 class SequencedTaskRunner; 36 class SequencedTaskRunner;
37 } 37 }
38 38
39 namespace policy { 39 namespace policy {
40 class BrowserPolicyConnector; 40 class BrowserPolicyConnector;
41 class PolicyService; 41 class PolicyService;
42 }; 42 };
43 43
44 #if defined(OS_WIN) && defined(USE_AURA)
45 class MetroViewerProcessHost;
46 #endif
47
48 #if defined(OS_MACOSX) 44 #if defined(OS_MACOSX)
49 class AppShimHostManager; 45 class AppShimHostManager;
50 #endif 46 #endif
51 47
52 // Real implementation of BrowserProcess that creates and returns the services. 48 // Real implementation of BrowserProcess that creates and returns the services.
53 class BrowserProcessImpl : public BrowserProcess, 49 class BrowserProcessImpl : public BrowserProcess,
54 public base::NonThreadSafe { 50 public base::NonThreadSafe {
55 public: 51 public:
56 // |local_state_task_runner| must be a shutdown-blocking task runner. 52 // |local_state_task_runner| must be a shutdown-blocking task runner.
57 BrowserProcessImpl(base::SequencedTaskRunner* local_state_task_runner, 53 BrowserProcessImpl(base::SequencedTaskRunner* local_state_task_runner,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 #endif 121 #endif
126 122
127 virtual ChromeNetLog* net_log() OVERRIDE; 123 virtual ChromeNetLog* net_log() OVERRIDE;
128 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 124 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
129 virtual ComponentUpdateService* component_updater() OVERRIDE; 125 virtual ComponentUpdateService* component_updater() OVERRIDE;
130 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 126 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
131 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; 127 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE;
132 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; 128 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
133 virtual chrome::MediaFileSystemRegistry* 129 virtual chrome::MediaFileSystemRegistry*
134 media_file_system_registry() OVERRIDE; 130 media_file_system_registry() OVERRIDE;
135 virtual void PlatformSpecificCommandLineProcessing(
136 const CommandLine& command_line) OVERRIDE;
137 virtual bool created_local_state() const OVERRIDE; 131 virtual bool created_local_state() const OVERRIDE;
138 #if defined(OS_WIN) && defined(USE_AURA)
139 virtual void OnMetroViewerProcessTerminated() OVERRIDE;
140 #endif
141 132
142 static void RegisterPrefs(PrefRegistrySimple* registry); 133 static void RegisterPrefs(PrefRegistrySimple* registry);
143 134
144 private: 135 private:
145 void CreateMetricsService(); 136 void CreateMetricsService();
146 void CreateWatchdogThread(); 137 void CreateWatchdogThread();
147 void CreateProfileManager(); 138 void CreateProfileManager();
148 void CreateLocalState(); 139 void CreateLocalState();
149 void CreateViewedPageTracker(); 140 void CreateViewedPageTracker();
150 void CreateIconManager(); 141 void CreateIconManager();
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // to concerns over integrity of data shared between profiles, 276 // to concerns over integrity of data shared between profiles,
286 // but some users of component updater only install per-user. 277 // but some users of component updater only install per-user.
287 scoped_ptr<ComponentUpdateService> component_updater_; 278 scoped_ptr<ComponentUpdateService> component_updater_;
288 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 279 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
289 scoped_ptr<PnaclComponentInstaller> pnacl_component_installer_; 280 scoped_ptr<PnaclComponentInstaller> pnacl_component_installer_;
290 281
291 #if defined(ENABLE_PLUGIN_INSTALLATION) 282 #if defined(ENABLE_PLUGIN_INSTALLATION)
292 scoped_refptr<PluginsResourceService> plugins_resource_service_; 283 scoped_refptr<PluginsResourceService> plugins_resource_service_;
293 #endif 284 #endif
294 285
295 #if defined(OS_WIN) && defined(USE_AURA)
296 void PerformInitForWindowsAura(const CommandLine& command_line);
297
298 // Hosts the channel for the Windows 8 metro viewer process which runs in
299 // the ASH environment.
300 scoped_ptr<MetroViewerProcessHost> metro_viewer_process_host_;
301 #endif
302
303 #if defined(OS_MACOSX) 286 #if defined(OS_MACOSX)
304 // Hosts the IPC channel factory that App Shims connect to on Mac. 287 // Hosts the IPC channel factory that App Shims connect to on Mac.
305 scoped_ptr<AppShimHostManager> app_shim_host_manager_; 288 scoped_ptr<AppShimHostManager> app_shim_host_manager_;
306 #endif 289 #endif
307 290
308 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 291 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
309 292
310 // TODO(eroman): Remove this when done debugging 113031. This tracks 293 // TODO(eroman): Remove this when done debugging 113031. This tracks
311 // the callstack which released the final module reference count. 294 // the callstack which released the final module reference count.
312 base::debug::StackTrace release_last_reference_callstack_; 295 base::debug::StackTrace release_last_reference_callstack_;
313 296
314 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 297 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
315 }; 298 };
316 299
317 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 300 #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