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

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

Issue 14329020: Implementing uploading of a WebRTC diagnostic log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review, added url and app session id, rebase Created 7 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 namespace printing { 73 namespace printing {
74 class BackgroundPrintingManager; 74 class BackgroundPrintingManager;
75 class PrintJobManager; 75 class PrintJobManager;
76 class PrintPreviewDialogController; 76 class PrintPreviewDialogController;
77 } 77 }
78 78
79 namespace safe_browsing { 79 namespace safe_browsing {
80 class ClientSideDetectionService; 80 class ClientSideDetectionService;
81 } 81 }
82 82
83 #if defined(ENABLE_WEBRTC)
84 namespace components {
85 class WebRtcLogUploader;
86 }
87 #endif
88
83 // NOT THREAD SAFE, call only from the main thread. 89 // NOT THREAD SAFE, call only from the main thread.
84 // These functions shouldn't return NULL unless otherwise noted. 90 // These functions shouldn't return NULL unless otherwise noted.
85 class BrowserProcess { 91 class BrowserProcess {
86 public: 92 public:
87 BrowserProcess(); 93 BrowserProcess();
88 virtual ~BrowserProcess(); 94 virtual ~BrowserProcess();
89 95
90 // Called when the ResourceDispatcherHost object is created by content. 96 // Called when the ResourceDispatcherHost object is created by content.
91 virtual void ResourceDispatcherHostCreated() = 0; 97 virtual void ResourceDispatcherHostCreated() = 0;
92 98
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 virtual CRLSetFetcher* crl_set_fetcher() = 0; 213 virtual CRLSetFetcher* crl_set_fetcher() = 0;
208 214
209 virtual PnaclComponentInstaller* pnacl_component_installer() = 0; 215 virtual PnaclComponentInstaller* pnacl_component_installer() = 0;
210 216
211 virtual BookmarkPromptController* bookmark_prompt_controller() = 0; 217 virtual BookmarkPromptController* bookmark_prompt_controller() = 0;
212 218
213 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0; 219 virtual chrome::MediaFileSystemRegistry* media_file_system_registry() = 0;
214 220
215 virtual bool created_local_state() const = 0; 221 virtual bool created_local_state() const = 0;
216 222
223 #if defined(ENABLE_WEBRTC)
224 virtual components::WebRtcLogUploader* webrtc_log_uploader() = 0;
225 #endif
226
217 private: 227 private:
218 DISALLOW_COPY_AND_ASSIGN(BrowserProcess); 228 DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
219 }; 229 };
220 230
221 extern BrowserProcess* g_browser_process; 231 extern BrowserProcess* g_browser_process;
222 232
223 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_ 233 #endif // CHROME_BROWSER_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698