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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 virtual IOThread* io_thread() OVERRIDE; | 63 virtual IOThread* io_thread() OVERRIDE; |
64 virtual WatchDogThread* watchdog_thread() OVERRIDE; | 64 virtual WatchDogThread* watchdog_thread() OVERRIDE; |
65 virtual ProfileManager* profile_manager() OVERRIDE; | 65 virtual ProfileManager* profile_manager() OVERRIDE; |
66 virtual PrefService* local_state() OVERRIDE; | 66 virtual PrefService* local_state() OVERRIDE; |
67 virtual ui::Clipboard* clipboard() OVERRIDE; | 67 virtual ui::Clipboard* clipboard() OVERRIDE; |
68 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; | 68 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; |
69 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; | 69 virtual chrome_variations::VariationsService* variations_service() OVERRIDE; |
70 #if defined(OS_CHROMEOS) | 70 #if defined(OS_CHROMEOS) |
71 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; | 71 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; |
72 #endif // defined(OS_CHROMEOS) | 72 #endif // defined(OS_CHROMEOS) |
73 virtual ExtensionEventRouterForwarder* | 73 virtual extensions::EventRouterForwarder* |
74 extension_event_router_forwarder() OVERRIDE; | 74 extension_event_router_forwarder() OVERRIDE; |
75 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; | 75 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; |
76 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; | 76 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; |
77 virtual policy::PolicyService* policy_service() OVERRIDE; | 77 virtual policy::PolicyService* policy_service() OVERRIDE; |
78 virtual IconManager* icon_manager() OVERRIDE; | 78 virtual IconManager* icon_manager() OVERRIDE; |
79 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; | 79 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; |
80 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; | 80 virtual AutomationProviderList* GetAutomationProviderList() OVERRIDE; |
81 virtual void InitDevToolsHttpProtocolHandler( | 81 virtual void InitDevToolsHttpProtocolHandler( |
82 Profile* profile, | 82 Profile* profile, |
83 const std::string& ip, | 83 const std::string& ip, |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 | 159 |
160 bool created_profile_manager_; | 160 bool created_profile_manager_; |
161 scoped_ptr<ProfileManager> profile_manager_; | 161 scoped_ptr<ProfileManager> profile_manager_; |
162 | 162 |
163 bool created_local_state_; | 163 bool created_local_state_; |
164 scoped_ptr<PrefService> local_state_; | 164 scoped_ptr<PrefService> local_state_; |
165 | 165 |
166 bool created_icon_manager_; | 166 bool created_icon_manager_; |
167 scoped_ptr<IconManager> icon_manager_; | 167 scoped_ptr<IconManager> icon_manager_; |
168 | 168 |
169 scoped_refptr<ExtensionEventRouterForwarder> | 169 scoped_refptr<extensions::EventRouterForwarder> |
170 extension_event_router_forwarder_; | 170 extension_event_router_forwarder_; |
171 | 171 |
172 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; | 172 scoped_ptr<RemoteDebuggingServer> remote_debugging_server_; |
173 | 173 |
174 scoped_refptr<printing::PrintPreviewTabController> | 174 scoped_refptr<printing::PrintPreviewTabController> |
175 print_preview_tab_controller_; | 175 print_preview_tab_controller_; |
176 | 176 |
177 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; | 177 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; |
178 | 178 |
179 scoped_ptr<ui::Clipboard> clipboard_; | 179 scoped_ptr<ui::Clipboard> clipboard_; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 #endif | 255 #endif |
256 | 256 |
257 // TODO(eroman): Remove this when done debugging 113031. This tracks | 257 // TODO(eroman): Remove this when done debugging 113031. This tracks |
258 // the callstack which released the final module reference count. | 258 // the callstack which released the final module reference count. |
259 base::debug::StackTrace release_last_reference_callstack_; | 259 base::debug::StackTrace release_last_reference_callstack_; |
260 | 260 |
261 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); | 261 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); |
262 }; | 262 }; |
263 | 263 |
264 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ | 264 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ |
OLD | NEW |