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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 1743c04cdf6aa38743d60a3cd352b11e5fee29c2..8c7b8298bb4d12b1851711b07aac48c66ac30c6c 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -799,12 +799,13 @@ prerender::PrerenderTracker* BrowserProcessImpl::prerender_tracker() {
return prerender_tracker_.get();
}
-ComponentUpdateService* BrowserProcessImpl::component_updater() {
+component_updater::ComponentUpdateService*
+BrowserProcessImpl::component_updater() {
if (!component_updater_.get()) {
if (!BrowserThread::CurrentlyOn(BrowserThread::UI))
return NULL;
- ComponentUpdateService::Configurator* configurator =
- MakeChromeComponentUpdaterConfigurator(
+ component_updater::ComponentUpdateService::Configurator* configurator =
+ component_updater::MakeChromeComponentUpdaterConfigurator(
CommandLine::ForCurrentProcess(),
io_thread()->system_url_request_context_getter());
// Creating the component updater does not do anything, components
@@ -820,9 +821,12 @@ CRLSetFetcher* BrowserProcessImpl::crl_set_fetcher() {
return crl_set_fetcher_.get();
}
-PnaclComponentInstaller* BrowserProcessImpl::pnacl_component_installer() {
- if (!pnacl_component_installer_.get())
- pnacl_component_installer_.reset(new PnaclComponentInstaller());
+component_updater::PnaclComponentInstaller*
+BrowserProcessImpl::pnacl_component_installer() {
+ if (!pnacl_component_installer_.get()) {
+ pnacl_component_installer_.reset(
+ new component_updater::PnaclComponentInstaller());
+ }
return pnacl_component_installer_.get();
}
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/chrome_browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698