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

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

Issue 10392007: Restoring the chrome variatioons client, with a fix for browser_test failures caused by it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // BrowserProcess implementation. 61 // BrowserProcess implementation.
62 virtual void ResourceDispatcherHostCreated() OVERRIDE; 62 virtual void ResourceDispatcherHostCreated() OVERRIDE;
63 virtual void EndSession() OVERRIDE; 63 virtual void EndSession() OVERRIDE;
64 virtual MetricsService* metrics_service() OVERRIDE; 64 virtual MetricsService* metrics_service() OVERRIDE;
65 virtual IOThread* io_thread() OVERRIDE; 65 virtual IOThread* io_thread() OVERRIDE;
66 virtual WatchDogThread* watchdog_thread() OVERRIDE; 66 virtual WatchDogThread* watchdog_thread() OVERRIDE;
67 virtual ProfileManager* profile_manager() OVERRIDE; 67 virtual ProfileManager* profile_manager() OVERRIDE;
68 virtual PrefService* local_state() OVERRIDE; 68 virtual PrefService* local_state() OVERRIDE;
69 virtual ui::Clipboard* clipboard() OVERRIDE; 69 virtual ui::Clipboard* clipboard() OVERRIDE;
70 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE; 70 virtual net::URLRequestContextGetter* system_request_context() OVERRIDE;
71 virtual VariationsService* variations_service() OVERRIDE;
71 #if defined(OS_CHROMEOS) 72 #if defined(OS_CHROMEOS)
72 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE; 73 virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE;
73 #endif // defined(OS_CHROMEOS) 74 #endif // defined(OS_CHROMEOS)
74 virtual ExtensionEventRouterForwarder* 75 virtual ExtensionEventRouterForwarder*
75 extension_event_router_forwarder() OVERRIDE; 76 extension_event_router_forwarder() OVERRIDE;
76 virtual NotificationUIManager* notification_ui_manager() OVERRIDE; 77 virtual NotificationUIManager* notification_ui_manager() OVERRIDE;
77 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE; 78 virtual policy::BrowserPolicyConnector* browser_policy_connector() OVERRIDE;
78 virtual policy::PolicyService* policy_service() OVERRIDE; 79 virtual policy::PolicyService* policy_service() OVERRIDE;
79 virtual IconManager* icon_manager() OVERRIDE; 80 virtual IconManager* icon_manager() OVERRIDE;
80 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE; 81 virtual ThumbnailGenerator* GetThumbnailGenerator() OVERRIDE;
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 private: 123 private:
123 void CreateMetricsService(); 124 void CreateMetricsService();
124 void CreateWatchdogThread(); 125 void CreateWatchdogThread();
125 #if defined(OS_CHROMEOS) 126 #if defined(OS_CHROMEOS)
126 void InitializeWebSocketProxyThread(); 127 void InitializeWebSocketProxyThread();
127 #endif 128 #endif
128 void CreateTemplateURLService(); 129 void CreateTemplateURLService();
129 void CreateProfileManager(); 130 void CreateProfileManager();
130 void CreateWebDataService(); 131 void CreateWebDataService();
131 void CreateLocalState(); 132 void CreateLocalState();
133 void CreateVariationsService();
132 void CreateViewedPageTracker(); 134 void CreateViewedPageTracker();
133 void CreateIconManager(); 135 void CreateIconManager();
134 void CreateIntranetRedirectDetector(); 136 void CreateIntranetRedirectDetector();
135 void CreateNotificationUIManager(); 137 void CreateNotificationUIManager();
136 void CreateStatusTrayManager(); 138 void CreateStatusTrayManager();
137 void CreateTabCloseableStateWatcher(); 139 void CreateTabCloseableStateWatcher();
138 void CreatePrintPreviewTabController(); 140 void CreatePrintPreviewTabController();
139 void CreateBackgroundPrintingManager(); 141 void CreateBackgroundPrintingManager();
140 void CreateSafeBrowsingService(); 142 void CreateSafeBrowsingService();
141 void CreateSafeBrowsingDetectionService(); 143 void CreateSafeBrowsingDetectionService();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 bool created_browser_policy_connector_; 176 bool created_browser_policy_connector_;
175 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_; 177 scoped_ptr<policy::BrowserPolicyConnector> browser_policy_connector_;
176 178
177 scoped_refptr<printing::PrintPreviewTabController> 179 scoped_refptr<printing::PrintPreviewTabController>
178 print_preview_tab_controller_; 180 print_preview_tab_controller_;
179 181
180 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; 182 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_;
181 183
182 scoped_ptr<ui::Clipboard> clipboard_; 184 scoped_ptr<ui::Clipboard> clipboard_;
183 185
186 bool created_variations_service_;
187 scoped_ptr<VariationsService> variations_service_;
188
184 // Manager for desktop notification UI. 189 // Manager for desktop notification UI.
185 bool created_notification_ui_manager_; 190 bool created_notification_ui_manager_;
186 scoped_ptr<NotificationUIManager> notification_ui_manager_; 191 scoped_ptr<NotificationUIManager> notification_ui_manager_;
187 192
188 #if defined(ENABLE_AUTOMATION) 193 #if defined(ENABLE_AUTOMATION)
189 scoped_ptr<AutomationProviderList> automation_provider_list_; 194 scoped_ptr<AutomationProviderList> automation_provider_list_;
190 #endif 195 #endif
191 196
192 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_; 197 scoped_ptr<IntranetRedirectDetector> intranet_redirect_detector_;
193 198
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 #endif 263 #endif
259 264
260 // TODO(eroman): Remove this when done debugging 113031. This tracks 265 // TODO(eroman): Remove this when done debugging 113031. This tracks
261 // the callstack which released the final module reference count. 266 // the callstack which released the final module reference count.
262 base::debug::StackTrace release_last_reference_callstack_; 267 base::debug::StackTrace release_last_reference_callstack_;
263 268
264 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 269 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
265 }; 270 };
266 271
267 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 272 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698