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

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: Fix build on Android. 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
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 namespace component_updater { 48 namespace component_updater {
49 class ComponentUpdateService; 49 class ComponentUpdateService;
50 class PnaclComponentInstaller; 50 class PnaclComponentInstaller;
51 } 51 }
52 52
53 namespace extensions { 53 namespace extensions {
54 class EventRouterForwarder; 54 class EventRouterForwarder;
55 } 55 }
56 56
57 namespace gcm {
58 class GCMDriver;
59 }
60
57 namespace message_center { 61 namespace message_center {
58 class MessageCenter; 62 class MessageCenter;
59 } 63 }
60 64
61 namespace net { 65 namespace net {
62 class URLRequestContextGetter; 66 class URLRequestContextGetter;
63 } 67 }
64 68
65 namespace network_time { 69 namespace network_time {
66 class NetworkTimeTracker; 70 class NetworkTimeTracker;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 virtual MediaFileSystemRegistry* media_file_system_registry() = 0; 222 virtual MediaFileSystemRegistry* media_file_system_registry() = 0;
219 223
220 virtual bool created_local_state() const = 0; 224 virtual bool created_local_state() const = 0;
221 225
222 #if defined(ENABLE_WEBRTC) 226 #if defined(ENABLE_WEBRTC)
223 virtual WebRtcLogUploader* webrtc_log_uploader() = 0; 227 virtual WebRtcLogUploader* webrtc_log_uploader() = 0;
224 #endif 228 #endif
225 229
226 virtual network_time::NetworkTimeTracker* network_time_tracker() = 0; 230 virtual network_time::NetworkTimeTracker* network_time_tracker() = 0;
227 231
232 virtual gcm::GCMDriver* gcm_driver() = 0;
233
228 private: 234 private:
229 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 235 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
230 }; 236 };
231 237
232 extern BrowserProcess* g_browser_process; 238 extern BrowserProcess* g_browser_process;
233 239
234 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 240 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698