| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |