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

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

Issue 182993003: Add the ability for DevTools to wrap network transactions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | net/http/http_cache.h » ('j') | 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) 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
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
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 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698