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

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: Upload again (error last upload). 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 // 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 18 matching lines...) Expand all
29 class PromoResourceService; 29 class PromoResourceService;
30 30
31 #if defined(ENABLE_PLUGIN_INSTALLATION) 31 #if defined(ENABLE_PLUGIN_INSTALLATION)
32 class PluginsResourceService; 32 class PluginsResourceService;
33 #endif 33 #endif
34 34
35 namespace base { 35 namespace base {
36 class SequencedTaskRunner; 36 class SequencedTaskRunner;
37 } 37 }
38 38
39 namespace components {
40 class WebRtcLogUploader;
41 }
42
39 namespace policy { 43 namespace policy {
40 class BrowserPolicyConnector; 44 class BrowserPolicyConnector;
41 class PolicyService; 45 class PolicyService;
42 }; 46 };
43 47
44 #if defined(OS_WIN) && defined(USE_AURA) 48 #if defined(OS_WIN) && defined(USE_AURA)
45 class MetroViewerProcessHost; 49 class MetroViewerProcessHost;
46 #endif 50 #endif
47 51
48 #if defined(OS_MACOSX) 52 #if defined(OS_MACOSX)
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; 135 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE;
132 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; 136 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
133 virtual chrome::MediaFileSystemRegistry* 137 virtual chrome::MediaFileSystemRegistry*
134 media_file_system_registry() OVERRIDE; 138 media_file_system_registry() OVERRIDE;
135 virtual void PlatformSpecificCommandLineProcessing( 139 virtual void PlatformSpecificCommandLineProcessing(
136 const CommandLine& command_line) OVERRIDE; 140 const CommandLine& command_line) OVERRIDE;
137 virtual bool created_local_state() const OVERRIDE; 141 virtual bool created_local_state() const OVERRIDE;
138 #if defined(OS_WIN) && defined(USE_AURA) 142 #if defined(OS_WIN) && defined(USE_AURA)
139 virtual void OnMetroViewerProcessTerminated() OVERRIDE; 143 virtual void OnMetroViewerProcessTerminated() OVERRIDE;
140 #endif 144 #endif
145 virtual components::WebRtcLogUploader* webrtc_log_uploader() OVERRIDE;
141 146
142 static void RegisterPrefs(PrefRegistrySimple* registry); 147 static void RegisterPrefs(PrefRegistrySimple* registry);
143 148
144 private: 149 private:
145 void CreateMetricsService(); 150 void CreateMetricsService();
146 void CreateWatchdogThread(); 151 void CreateWatchdogThread();
147 void CreateProfileManager(); 152 void CreateProfileManager();
148 void CreateLocalState(); 153 void CreateLocalState();
149 void CreateViewedPageTracker(); 154 void CreateViewedPageTracker();
150 void CreateIconManager(); 155 void CreateIconManager();
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 // Hosts the IPC channel factory that App Shims connect to on Mac. 309 // Hosts the IPC channel factory that App Shims connect to on Mac.
305 scoped_ptr<AppShimHostManager> app_shim_host_manager_; 310 scoped_ptr<AppShimHostManager> app_shim_host_manager_;
306 #endif 311 #endif
307 312
308 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 313 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
309 314
310 // TODO(eroman): Remove this when done debugging 113031. This tracks 315 // TODO(eroman): Remove this when done debugging 113031. This tracks
311 // the callstack which released the final module reference count. 316 // the callstack which released the final module reference count.
312 base::debug::StackTrace release_last_reference_callstack_; 317 base::debug::StackTrace release_last_reference_callstack_;
313 318
319 #if defined(ENABLE_WEBRTC)
320 scoped_ptr<components::WebRtcLogUploader> webrtc_log_uploader_;
321 #endif
322
314 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 323 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
315 }; 324 };
316 325
317 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 326 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698