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

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

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/chrome_tests_unit.gypi ('k') | chrome/test/base/testing_profile.cc » ('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 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 #endif // defined(OS_CHROMEOS) 325 #endif // defined(OS_CHROMEOS)
326 326
327 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE; 327 virtual PrefProxyConfigTracker* GetProxyConfigTracker() OVERRIDE;
328 328
329 // Schedules a task on the history backend and runs a nested loop until the 329 // Schedules a task on the history backend and runs a nested loop until the
330 // task is processed. This has the effect of blocking the caller until the 330 // task is processed. This has the effect of blocking the caller until the
331 // history service processes all pending requests. 331 // history service processes all pending requests.
332 void BlockUntilHistoryProcessesPendingRequests(); 332 void BlockUntilHistoryProcessesPendingRequests();
333 333
334 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 334 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
335 virtual DevToolsNetworkController* GetDevToolsNetworkController() OVERRIDE;
335 virtual void ClearNetworkingHistorySince( 336 virtual void ClearNetworkingHistorySince(
336 base::Time time, 337 base::Time time,
337 const base::Closure& completion) OVERRIDE; 338 const base::Closure& completion) OVERRIDE;
338 virtual void ClearDomainReliabilityMonitor( 339 virtual void ClearDomainReliabilityMonitor(
339 domain_reliability::DomainReliabilityClearMode mode, 340 domain_reliability::DomainReliabilityClearMode mode,
340 const base::Closure& completion) OVERRIDE; 341 const base::Closure& completion) OVERRIDE;
341 virtual GURL GetHomePage() OVERRIDE; 342 virtual GURL GetHomePage() OVERRIDE;
342 343
343 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 344 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
344 345
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 421
421 // Weak pointer to a delegate for indicating that a profile was created. 422 // Weak pointer to a delegate for indicating that a profile was created.
422 Delegate* delegate_; 423 Delegate* delegate_;
423 424
424 std::string profile_name_; 425 std::string profile_name_;
425 426
426 scoped_ptr<policy::PolicyService> policy_service_; 427 scoped_ptr<policy::PolicyService> policy_service_;
427 }; 428 };
428 429
429 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 430 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698