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

Side by Side Diff: chrome/test/base/testing_profile.cc

Issue 8872036: Profiles: Move NetworkActionPredictor to the ProfileKeyedService framework. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove dtor Created 9 years 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 | « chrome/test/base/testing_profile.h ('k') | no next file » | 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) 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/test/base/testing_profile.h" 5 #include "chrome/test/base/testing_profile.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 } 838 }
839 839
840 void TestingProfile::ClearNetworkingHistorySince(base::Time time) { 840 void TestingProfile::ClearNetworkingHistorySince(base::Time time) {
841 NOTIMPLEMENTED(); 841 NOTIMPLEMENTED();
842 } 842 }
843 843
844 GURL TestingProfile::GetHomePage() { 844 GURL TestingProfile::GetHomePage() {
845 return GURL(chrome::kChromeUINewTabURL); 845 return GURL(chrome::kChromeUINewTabURL);
846 } 846 }
847 847
848 NetworkActionPredictor* TestingProfile::GetNetworkActionPredictor() {
849 return NULL;
850 }
851
852 PrefService* TestingProfile::GetOffTheRecordPrefs() { 848 PrefService* TestingProfile::GetOffTheRecordPrefs() {
853 return NULL; 849 return NULL;
854 } 850 }
855 851
856 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { 852 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() {
857 return GetExtensionSpecialStoragePolicy(); 853 return GetExtensionSpecialStoragePolicy();
858 } 854 }
859 855
860 void TestingProfile::DestroyWebDataService() { 856 void TestingProfile::DestroyWebDataService() {
861 if (!web_data_service_.get()) 857 if (!web_data_service_.get())
862 return; 858 return;
863 859
864 web_data_service_->Shutdown(); 860 web_data_service_->Shutdown();
865 } 861 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698