OLD | NEW |
---|---|
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 18 matching lines...) Expand all Loading... | |
29 class PromoResourceService; | 29 class PromoResourceService; |
30 | 30 |
31 #if defined(ENABLE_PLUGIN_INSTALLATION) | 31 #if defined(ENABLE_PLUGIN_INSTALLATION) |
32 class PluginsResourceService; | 32 class PluginsResourceService; |
33 #endif | 33 #endif |
34 | 34 |
35 namespace base { | 35 namespace base { |
36 class SequencedTaskRunner; | 36 class SequencedTaskRunner; |
37 } | 37 } |
38 | 38 |
39 namespace extensions { | |
40 class ExtensionsBrowserClient; | |
41 } | |
42 | |
39 namespace policy { | 43 namespace policy { |
40 class BrowserPolicyConnector; | 44 class BrowserPolicyConnector; |
41 class PolicyService; | 45 class PolicyService; |
42 }; | 46 }; |
43 | 47 |
44 // Real implementation of BrowserProcess that creates and returns the services. | 48 // Real implementation of BrowserProcess that creates and returns the services. |
45 class BrowserProcessImpl : public BrowserProcess, | 49 class BrowserProcessImpl : public BrowserProcess, |
46 public base::NonThreadSafe { | 50 public base::NonThreadSafe { |
47 public: | 51 public: |
48 // |local_state_task_runner| must be a shutdown-blocking task runner. | 52 // |local_state_task_runner| must be a shutdown-blocking task runner. |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
178 bool created_local_state_; | 182 bool created_local_state_; |
179 scoped_ptr<PrefService> local_state_; | 183 scoped_ptr<PrefService> local_state_; |
180 | 184 |
181 bool created_icon_manager_; | 185 bool created_icon_manager_; |
182 scoped_ptr<IconManager> icon_manager_; | 186 scoped_ptr<IconManager> icon_manager_; |
183 | 187 |
184 scoped_ptr<GLStringManager> gl_string_manager_; | 188 scoped_ptr<GLStringManager> gl_string_manager_; |
185 | 189 |
186 scoped_ptr<GpuModeManager> gpu_mode_manager_; | 190 scoped_ptr<GpuModeManager> gpu_mode_manager_; |
187 | 191 |
192 scoped_ptr<extensions::ExtensionsBrowserClient> extensions_browser_client_; | |
James Cook
2013/11/04 19:09:31
I converted the ExtensionsBrowserClient from a sin
| |
188 scoped_refptr<extensions::EventRouterForwarder> | 193 scoped_refptr<extensions::EventRouterForwarder> |
189 extension_event_router_forwarder_; | 194 extension_event_router_forwarder_; |
190 | 195 |
191 #if !defined(OS_ANDROID) | 196 #if !defined(OS_ANDROID) |
192 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 197 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
193 | 198 |
194 // Bookmark prompt controller displays the prompt for frequently visited URL. | 199 // Bookmark prompt controller displays the prompt for frequently visited URL. |
195 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; | 200 scoped_ptr<BookmarkPromptController> bookmark_prompt_controller_; |
196 #endif | 201 #endif |
197 | 202 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
295 | 300 |
296 #if defined(ENABLE_WEBRTC) | 301 #if defined(ENABLE_WEBRTC) |
297 // Lazily initialized. | 302 // Lazily initialized. |
298 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; | 303 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; |
299 #endif | 304 #endif |
300 | 305 |
301 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 306 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
302 }; | 307 }; |
303 | 308 |
304 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 309 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |