| OLD | NEW |
| 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 #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 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 | 865 |
| 866 CancelableRequestConsumer consumer; | 866 CancelableRequestConsumer consumer; |
| 867 history_service->ScheduleDBTask(new QuittingHistoryDBTask(), &consumer); | 867 history_service->ScheduleDBTask(new QuittingHistoryDBTask(), &consumer); |
| 868 base::MessageLoop::current()->Run(); | 868 base::MessageLoop::current()->Run(); |
| 869 } | 869 } |
| 870 | 870 |
| 871 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() { | 871 chrome_browser_net::Predictor* TestingProfile::GetNetworkPredictor() { |
| 872 return NULL; | 872 return NULL; |
| 873 } | 873 } |
| 874 | 874 |
| 875 DevToolsNetworkController* TestingProfile::GetDevToolsNetworkController() { |
| 876 return NULL; |
| 877 } |
| 878 |
| 875 void TestingProfile::ClearNetworkingHistorySince( | 879 void TestingProfile::ClearNetworkingHistorySince( |
| 876 base::Time time, | 880 base::Time time, |
| 877 const base::Closure& completion) { | 881 const base::Closure& completion) { |
| 878 if (!completion.is_null()) { | 882 if (!completion.is_null()) { |
| 879 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion); | 883 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion); |
| 880 } | 884 } |
| 881 } | 885 } |
| 882 | 886 |
| 883 void TestingProfile::ClearDomainReliabilityMonitor( | 887 void TestingProfile::ClearDomainReliabilityMonitor( |
| 884 domain_reliability::DomainReliabilityClearMode mode, | 888 domain_reliability::DomainReliabilityClearMode mode, |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 path_, | 976 path_, |
| 973 delegate_, | 977 delegate_, |
| 974 extension_policy_, | 978 extension_policy_, |
| 975 pref_service_.Pass(), | 979 pref_service_.Pass(), |
| 976 incognito_, | 980 incognito_, |
| 977 guest_session_, | 981 guest_session_, |
| 978 managed_user_id_, | 982 managed_user_id_, |
| 979 policy_service_.Pass(), | 983 policy_service_.Pass(), |
| 980 testing_factories_)); | 984 testing_factories_)); |
| 981 } | 985 } |
| OLD | NEW |