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