| 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 // 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class WatchDogThread; | 43 class WatchDogThread; |
| 44 | 44 |
| 45 namespace chrome { | 45 namespace chrome { |
| 46 class MediaFileSystemRegistry; | 46 class MediaFileSystemRegistry; |
| 47 } | 47 } |
| 48 | 48 |
| 49 namespace chrome_variations { | 49 namespace chrome_variations { |
| 50 class VariationsService; | 50 class VariationsService; |
| 51 } | 51 } |
| 52 | 52 |
| 53 namespace components { |
| 54 class WebRtcLogUploader; |
| 55 } |
| 56 |
| 53 namespace extensions { | 57 namespace extensions { |
| 54 class EventRouterForwarder; | 58 class EventRouterForwarder; |
| 55 } | 59 } |
| 56 | 60 |
| 57 #if defined(ENABLE_MESSAGE_CENTER) | 61 #if defined(ENABLE_MESSAGE_CENTER) |
| 58 namespace message_center { | 62 namespace message_center { |
| 59 class MessageCenter; | 63 class MessageCenter; |
| 60 } | 64 } |
| 61 #endif | 65 #endif |
| 62 | 66 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 virtual void PlatformSpecificCommandLineProcessing( | 224 virtual void PlatformSpecificCommandLineProcessing( |
| 221 const CommandLine& command_line) = 0; | 225 const CommandLine& command_line) = 0; |
| 222 | 226 |
| 223 virtual bool created_local_state() const = 0; | 227 virtual bool created_local_state() const = 0; |
| 224 | 228 |
| 225 #if defined(OS_WIN) && defined(USE_AURA) | 229 #if defined(OS_WIN) && defined(USE_AURA) |
| 226 // Invoked when the ASH metro viewer process on Windows 8 exits. | 230 // Invoked when the ASH metro viewer process on Windows 8 exits. |
| 227 virtual void OnMetroViewerProcessTerminated() = 0; | 231 virtual void OnMetroViewerProcessTerminated() = 0; |
| 228 #endif | 232 #endif |
| 229 | 233 |
| 234 virtual components::WebRtcLogUploader* webrtc_log_uploader() = 0; |
| 235 |
| 230 private: | 236 private: |
| 231 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); | 237 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); |
| 232 }; | 238 }; |
| 233 | 239 |
| 234 extern BrowserProcess* g_browser_process; | 240 extern BrowserProcess* g_browser_process; |
| 235 | 241 |
| 236 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ | 242 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ |
| OLD | NEW |