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

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

Issue 494993005: Only build various flash/pnacl/ppapi code when they are enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/BUILD.gn ('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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 void OnAutoupdateTimer(); 269 void OnAutoupdateTimer();
270 bool CanAutorestartForUpdate() const; 270 bool CanAutorestartForUpdate() const;
271 void RestartBackgroundInstance(); 271 void RestartBackgroundInstance();
272 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS) 272 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS)
273 273
274 // component updater is normally not used under ChromeOS due 274 // component updater is normally not used under ChromeOS due
275 // to concerns over integrity of data shared between profiles, 275 // to concerns over integrity of data shared between profiles,
276 // but some users of component updater only install per-user. 276 // but some users of component updater only install per-user.
277 scoped_ptr<component_updater::ComponentUpdateService> component_updater_; 277 scoped_ptr<component_updater::ComponentUpdateService> component_updater_;
278 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 278 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
279
280 #if !defined(DISABLE_NACL)
279 scoped_ptr<component_updater::PnaclComponentInstaller> 281 scoped_ptr<component_updater::PnaclComponentInstaller>
280 pnacl_component_installer_; 282 pnacl_component_installer_;
283 #endif
281 284
282 #if defined(ENABLE_PLUGIN_INSTALLATION) 285 #if defined(ENABLE_PLUGIN_INSTALLATION)
283 scoped_refptr<PluginsResourceService> plugins_resource_service_; 286 scoped_refptr<PluginsResourceService> plugins_resource_service_;
284 #endif 287 #endif
285 288
286 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 289 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
287 290
288 // TODO(eroman): Remove this when done debugging 113031. This tracks 291 // TODO(eroman): Remove this when done debugging 113031. This tracks
289 // the callstack which released the final module reference count. 292 // the callstack which released the final module reference count.
290 base::debug::StackTrace release_last_reference_callstack_; 293 base::debug::StackTrace release_last_reference_callstack_;
291 294
292 #if defined(ENABLE_WEBRTC) 295 #if defined(ENABLE_WEBRTC)
293 // Lazily initialized. 296 // Lazily initialized.
294 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_; 297 scoped_ptr<WebRtcLogUploader> webrtc_log_uploader_;
295 #endif 298 #endif
296 299
297 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_; 300 scoped_ptr<network_time::NetworkTimeTracker> network_time_tracker_;
298 301
299 scoped_ptr<gcm::GCMDriver> gcm_driver_; 302 scoped_ptr<gcm::GCMDriver> gcm_driver_;
300 303
301 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 304 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
302 }; 305 };
303 306
304 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 307 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698