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

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

Issue 301973009: Add browser-global GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Addressed comments. Created 6 years, 6 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 namespace component_updater { 49 namespace component_updater {
50 class ComponentUpdateService; 50 class ComponentUpdateService;
51 class PnaclComponentInstaller; 51 class PnaclComponentInstaller;
52 } 52 }
53 53
54 namespace extensions { 54 namespace extensions {
55 class EventRouterForwarder; 55 class EventRouterForwarder;
56 } 56 }
57 57
58 namespace gcm {
59 class GCMDriver;
60 }
61
58 namespace message_center { 62 namespace message_center {
59 class MessageCenter; 63 class MessageCenter;
60 } 64 }
61 65
62 namespace net { 66 namespace net {
63 class URLRequestContextGetter; 67 class URLRequestContextGetter;
64 } 68 }
65 69
66 namespace policy { 70 namespace policy {
67 class BrowserPolicyConnector; 71 class BrowserPolicyConnector;
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 virtual MediaFileSystemRegistry* media_file_system_registry() = 0; 219 virtual MediaFileSystemRegistry* media_file_system_registry() = 0;
216 220
217 virtual bool created_local_state() const = 0; 221 virtual bool created_local_state() const = 0;
218 222
219 #if defined(ENABLE_WEBRTC) 223 #if defined(ENABLE_WEBRTC)
220 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; 224 virtual WebRtcLogUploader* webrtc_log_uploader() = 0;
221 #endif 225 #endif
222 226
223 virtual NetworkTimeTracker* network_time_tracker() = 0; 227 virtual NetworkTimeTracker* network_time_tracker() = 0;
224 228
229 virtual gcm::GCMDriver* gcm_driver() = 0;
230
225 private: 231 private:
226 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 232 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
227 }; 233 };
228 234
229 extern BrowserProcess* g_browser_process; 235 extern BrowserProcess* g_browser_process;
230 236
231 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 237 #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.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698