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

Side by Side Diff: chrome/browser/profiles/profile_impl.cc

Issue 7282054: Remove more unnecessary ChromeURLRequestContext members. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge again Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/browser/profiles/profile_impl.h" 5 #include "chrome/browser/profiles/profile_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 1500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1511 } 1511 }
1512 return blob_storage_context_; 1512 return blob_storage_context_;
1513 } 1513 }
1514 1514
1515 ExtensionInfoMap* ProfileImpl::GetExtensionInfoMap() { 1515 ExtensionInfoMap* ProfileImpl::GetExtensionInfoMap() {
1516 return extension_info_map_.get(); 1516 return extension_info_map_.get();
1517 } 1517 }
1518 1518
1519 ChromeURLDataManager* ProfileImpl::GetChromeURLDataManager() { 1519 ChromeURLDataManager* ProfileImpl::GetChromeURLDataManager() {
1520 if (!chrome_url_data_manager_.get()) 1520 if (!chrome_url_data_manager_.get())
1521 chrome_url_data_manager_.reset(new ChromeURLDataManager(this)); 1521 chrome_url_data_manager_.reset(new ChromeURLDataManager(
1522 io_data_.GetChromeURLDataManagerBackendGetter()));
1522 return chrome_url_data_manager_.get(); 1523 return chrome_url_data_manager_.get();
1523 } 1524 }
1524 1525
1525 PromoCounter* ProfileImpl::GetInstantPromoCounter() { 1526 PromoCounter* ProfileImpl::GetInstantPromoCounter() {
1526 #if defined(OS_WIN) 1527 #if defined(OS_WIN)
1527 // TODO: enable this when we're ready to turn on the promo. 1528 // TODO: enable this when we're ready to turn on the promo.
1528 /* 1529 /*
1529 if (!checked_instant_promo_) { 1530 if (!checked_instant_promo_) {
1530 checked_instant_promo_ = true; 1531 checked_instant_promo_ = true;
1531 PrefService* prefs = GetPrefs(); 1532 PrefService* prefs = GetPrefs();
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1652 if (!prerender::PrerenderManager::IsPrerenderingPossible()) 1653 if (!prerender::PrerenderManager::IsPrerenderingPossible())
1653 return NULL; 1654 return NULL;
1654 if (!prerender_manager_.get()) { 1655 if (!prerender_manager_.get()) {
1655 CHECK(g_browser_process->prerender_tracker()); 1656 CHECK(g_browser_process->prerender_tracker());
1656 prerender_manager_.reset( 1657 prerender_manager_.reset(
1657 new prerender::PrerenderManager( 1658 new prerender::PrerenderManager(
1658 this, g_browser_process->prerender_tracker())); 1659 this, g_browser_process->prerender_tracker()));
1659 } 1660 }
1660 return prerender_manager_.get(); 1661 return prerender_manager_.get();
1661 } 1662 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698