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

Side by Side Diff: chrome/browser/browser_process.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: max retries in a const 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 // This interface is for managing the global services of the application. Each 5 // This interface is for managing the global services of the application. Each
6 // service is lazily created when requested the first time. The service getters 6 // service is lazily created when requested the first time. The service getters
7 // will return NULL if the service is not available, so callers must check for 7 // will return NULL if the service is not available, so callers must check for
8 // this condition. 8 // this condition.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_H_
(...skipping 17 matching lines...) Expand all
28 class IOThread; 28 class IOThread;
29 class MetricsService; 29 class MetricsService;
30 class NotificationUIManager; 30 class NotificationUIManager;
31 class PrefService; 31 class PrefService;
32 class Profile; 32 class Profile;
33 class ProfileManager; 33 class ProfileManager;
34 class SafeBrowsingService; 34 class SafeBrowsingService;
35 class StatusTray; 35 class StatusTray;
36 class TabCloseableStateWatcher; 36 class TabCloseableStateWatcher;
37 class ThumbnailGenerator; 37 class ThumbnailGenerator;
38 class VariationsService;
38 class WatchDogThread; 39 class WatchDogThread;
39 40
40 #if defined(OS_CHROMEOS) 41 #if defined(OS_CHROMEOS)
41 namespace chromeos { 42 namespace chromeos {
42 class OomPriorityManager; 43 class OomPriorityManager;
43 } 44 }
44 #endif // defined(OS_CHROMEOS) 45 #endif // defined(OS_CHROMEOS)
45 46
46 namespace net { 47 namespace net {
47 class URLRequestContextGetter; 48 class URLRequestContextGetter;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // to normal shutdown and saves any state that must be saved before we are 86 // to normal shutdown and saves any state that must be saved before we are
86 // continue shutdown. 87 // continue shutdown.
87 virtual void EndSession() = 0; 88 virtual void EndSession() = 0;
88 89
89 // Services: any of these getters may return NULL 90 // Services: any of these getters may return NULL
90 virtual MetricsService* metrics_service() = 0; 91 virtual MetricsService* metrics_service() = 0;
91 virtual ProfileManager* profile_manager() = 0; 92 virtual ProfileManager* profile_manager() = 0;
92 virtual PrefService* local_state() = 0; 93 virtual PrefService* local_state() = 0;
93 virtual ui::Clipboard* clipboard() = 0; 94 virtual ui::Clipboard* clipboard() = 0;
94 virtual net::URLRequestContextGetter* system_request_context() = 0; 95 virtual net::URLRequestContextGetter* system_request_context() = 0;
96 virtual VariationsService* variations_service() = 0;
Ilya Sherman 2012/05/15 22:11:17 I still think this might be more appropriate as a
SteveT 2012/05/16 14:33:49 Does the functionality in VariationsService have m
jwd 2012/05/16 14:47:31 FWIW putting it here was a recommendation from dom
Ilya Sherman 2012/05/16 17:57:23 Fair enough, I'm ok with keeping it here if that s
Ilya Sherman 2012/05/16 17:57:23 Agreed, the MetricsService does not use the Variat
95 97
96 #if defined(OS_CHROMEOS) 98 #if defined(OS_CHROMEOS)
97 // Returns the out-of-memory priority manager. 99 // Returns the out-of-memory priority manager.
98 virtual chromeos::OomPriorityManager* oom_priority_manager() = 0; 100 virtual chromeos::OomPriorityManager* oom_priority_manager() = 0;
99 #endif // defined(OS_CHROMEOS) 101 #endif // defined(OS_CHROMEOS)
100 102
101 virtual ExtensionEventRouterForwarder* 103 virtual ExtensionEventRouterForwarder*
102 extension_event_router_forwarder() = 0; 104 extension_event_router_forwarder() = 0;
103 105
104 // Returns the manager for desktop notifications. 106 // Returns the manager for desktop notifications.
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 200
199 virtual CRLSetFetcher* crl_set_fetcher() = 0; 201 virtual CRLSetFetcher* crl_set_fetcher() = 0;
200 202
201 private: 203 private:
202 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 204 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
203 }; 205 };
204 206
205 extern BrowserProcess* g_browser_process; 207 extern BrowserProcess* g_browser_process;
206 208
207 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 209 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | chrome/browser/browser_process_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698