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

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

Issue 897873002: Make ComponentInstaller refcounted. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@2015_01_19_component_installer
Patch Set: fix Created 5 years, 10 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
« no previous file with comments | « no previous file | 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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 void RestartBackgroundInstance(); 270 void RestartBackgroundInstance();
271 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS) 271 #endif // defined(OS_WIN) || defined(OS_LINUX) && !defined(OS_CHROMEOS)
272 272
273 // component updater is normally not used under ChromeOS due 273 // component updater is normally not used under ChromeOS due
274 // to concerns over integrity of data shared between profiles, 274 // to concerns over integrity of data shared between profiles,
275 // but some users of component updater only install per-user. 275 // but some users of component updater only install per-user.
276 scoped_ptr<component_updater::ComponentUpdateService> component_updater_; 276 scoped_ptr<component_updater::ComponentUpdateService> component_updater_;
277 scoped_refptr<CRLSetFetcher> crl_set_fetcher_; 277 scoped_refptr<CRLSetFetcher> crl_set_fetcher_;
278 278
279 #if !defined(DISABLE_NACL) 279 #if !defined(DISABLE_NACL)
280 scoped_ptr<component_updater::PnaclComponentInstaller> 280 scoped_refptr<component_updater::PnaclComponentInstaller>
281 pnacl_component_installer_; 281 pnacl_component_installer_;
282 #endif 282 #endif
283 283
284 #if defined(ENABLE_PLUGIN_INSTALLATION) 284 #if defined(ENABLE_PLUGIN_INSTALLATION)
285 scoped_ptr<PluginsResourceService> plugins_resource_service_; 285 scoped_ptr<PluginsResourceService> plugins_resource_service_;
286 #endif 286 #endif
287 287
288 scoped_ptr<BrowserProcessPlatformPart> platform_part_; 288 scoped_ptr<BrowserProcessPlatformPart> platform_part_;
289 289
290 // TODO(eroman): Remove this when done debugging 113031. This tracks 290 // TODO(eroman): Remove this when done debugging 113031. This tracks
(...skipping 10 matching lines...) Expand all
301 scoped_ptr<gcm::GCMDriver> gcm_driver_; 301 scoped_ptr<gcm::GCMDriver> gcm_driver_;
302 302
303 #if !defined(OS_ANDROID) 303 #if !defined(OS_ANDROID)
304 scoped_ptr<ChromeDeviceClient> device_client_; 304 scoped_ptr<ChromeDeviceClient> device_client_;
305 #endif 305 #endif
306 306
307 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl); 307 DISALLOW_COPY_AND_ASSIGN(BrowserProcessImpl);
308 }; 308 };
309 309
310 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_ 310 #endif // CHROME_BROWSER_BROWSER_PROCESS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698