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

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

Issue 14329020: Implementing uploading of a WebRTC diagnostic log. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed build error on ChromeOS. Created 7 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 | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('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 // When each service is created, we set a flag indicating this. At this point, 5 // When each service is created, we set a flag indicating this. At this point,
6 // the service initialization could fail or succeed. This allows us to remember 6 // the service initialization could fail or succeed. This allows us to remember
7 // if we tried to create a service, and not try creating it over and over if 7 // if we tried to create a service, and not try creating it over and over if
8 // the creation failed. 8 // the creation failed.
9 9
10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 10 #ifndef CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 virtual ChromeNetLog* net_log() OVERRIDE; 122 virtual ChromeNetLog* net_log() OVERRIDE;
123 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 123 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
124 virtual ComponentUpdateService* component_updater() OVERRIDE; 124 virtual ComponentUpdateService* component_updater() OVERRIDE;
125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 125 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
126 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; 126 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE;
127 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; 127 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
128 virtual chrome::MediaFileSystemRegistry* 128 virtual chrome::MediaFileSystemRegistry*
129 media_file_system_registry() OVERRIDE; 129 media_file_system_registry() OVERRIDE;
130 virtual bool created_local_state() const OVERRIDE; 130 virtual bool created_local_state() const OVERRIDE;
131 #if defined(ENABLE_WEBRTC)
132 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE;
133 #endif
131 134
132 static void RegisterPrefs(PrefRegistrySimple* registry); 135 static void RegisterPrefs(PrefRegistrySimple* registry);
133 136
134 private: 137 private:
135 void CreateMetricsService(); 138 void CreateMetricsService();
136 void CreateWatchdogThread(); 139 void CreateWatchdogThread();
137 void CreateProfileManager(); 140 void CreateProfileManager();
138 void CreateLocalState(); 141 void CreateLocalState();
139 void CreateViewedPageTracker(); 142 void CreateViewedPageTracker();
140 void CreateIconManager(); 143 void CreateIconManager();
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 // Hosts the IPC channel factory that App Shims connect to on Mac. 289 // Hosts the IPC channel factory that App Shims connect to on Mac.
287 scoped_ptr<AppShimHostManager> app_shim_host_manager_; 290 scoped_ptr<AppShimHostManager> app_shim_host_manager_;
288 #endif 291 #endif
289 292
290 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 293 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
291 294
292 // TODO(eroman): Remove this when done debugging 113031. This tracks 295 // TODO(eroman): Remove this when done debugging 113031. This tracks
293 // the callstack which released the final module reference count. 296 // the callstack which released the final module reference count.
294 base::debug::StackTrace release_last_reference_callstack_; 297 base::debug::StackTrace release_last_reference_callstack_;
295 298
299 #if defined(ENABLE_WEBRTC)
300 // Lazily initialized.
301 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_;
302 #endif
303
296 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 304 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
297 }; 305 };
298 306
299 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 307 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process.h ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698