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

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

Issue 12623005: [mac] App shims (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 27 matching lines...) Expand all
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) 44 #if defined(OS_WIN) && defined(USE_AURA)
45 class MetroViewerProcessHost; 45 class MetroViewerProcessHost;
46 #endif 46 #endif
47 47
48 #if defined(OS_MACOSX)
49 class AppShimHostController;
50 #endif
51
48 // Real implementation of BrowserProcess that creates and returns the services. 52 // Real implementation of BrowserProcess that creates and returns the services.
49 class BrowserProcessImpl : public BrowserProcess, 53 class BrowserProcessImpl : public BrowserProcess,
50 public base::NonThreadSafe { 54 public base::NonThreadSafe {
51 public: 55 public:
52 // |local_state_task_runner| must be a shutdown-blocking task runner. 56 // |local_state_task_runner| must be a shutdown-blocking task runner.
53 BrowserProcessImpl(base::SequencedTaskRunner* local_state_task_runner, 57 BrowserProcessImpl(base::SequencedTaskRunner* local_state_task_runner,
54 const CommandLine& command_line); 58 const CommandLine& command_line);
55 virtual ~BrowserProcessImpl(); 59 virtual ~BrowserProcessImpl();
56 60
57 // Called before the browser threads are created. 61 // Called before the browser threads are created.
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 #endif 302 #endif
299 303
300 #if defined(OS_WIN) && defined(USE_AURA) 304 #if defined(OS_WIN) && defined(USE_AURA)
301 void PerformInitForWindowsAura(const CommandLine& command_line); 305 void PerformInitForWindowsAura(const CommandLine& command_line);
302 306
303 // Hosts the channel for the Windows 8 metro viewer process which runs in 307 // Hosts the channel for the Windows 8 metro viewer process which runs in
304 // the ASH environment. 308 // the ASH environment.
305 scoped_ptr<MetroViewerProcessHost> metro_viewer_process_host_; 309 scoped_ptr<MetroViewerProcessHost> metro_viewer_process_host_;
306 #endif 310 #endif
307 311
312 #if defined(OS_MACOSX)
313 scoped_ptr<AppShimHostController> app_shim_host_controller_;
314 #endif
315
308 // TODO(eroman): Remove this when done debugging 113031. This tracks 316 // TODO(eroman): Remove this when done debugging 113031. This tracks
309 // the callstack which released the final module reference count. 317 // the callstack which released the final module reference count.
310 base::debug::StackTrace release_last_reference_callstack_; 318 base::debug::StackTrace release_last_reference_callstack_;
311 319
312 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 320 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
313 }; 321 };
314 322
315 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 323 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698