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

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

Issue 8872036: Profiles: Move NetworkActionPredictor to the ProfileKeyedService framework. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove dtor Created 9 years 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
« no previous file with comments | « chrome/chrome_browser.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) 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 #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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE; 286 virtual ProfileSyncService* GetProfileSyncService() OVERRIDE;
287 virtual ProfileSyncService* GetProfileSyncService( 287 virtual ProfileSyncService* GetProfileSyncService(
288 const std::string& cros_notes) OVERRIDE; 288 const std::string& cros_notes) OVERRIDE;
289 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE; 289 virtual ChromeBlobStorageContext* GetBlobStorageContext() OVERRIDE;
290 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE; 290 virtual ExtensionInfoMap* GetExtensionInfoMap() OVERRIDE;
291 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE; 291 virtual PromoCounter* GetInstantPromoCounter() OVERRIDE;
292 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE; 292 virtual ChromeURLDataManager* GetChromeURLDataManager() OVERRIDE;
293 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE; 293 virtual chrome_browser_net::Predictor* GetNetworkPredictor() OVERRIDE;
294 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE; 294 virtual void ClearNetworkingHistorySince(base::Time time) OVERRIDE;
295 virtual GURL GetHomePage() OVERRIDE; 295 virtual GURL GetHomePage() OVERRIDE;
296 virtual NetworkActionPredictor* GetNetworkActionPredictor() OVERRIDE;
297 296
298 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE; 297 virtual PrefService* GetOffTheRecordPrefs() OVERRIDE;
299 298
300 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile 299 // TODO(jam): remove me once webkit_context_unittest.cc doesn't use Profile
301 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing 300 // and gets the quota::SpecialStoragePolicy* from whatever ends up replacing
302 // it in the content module. 301 // it in the content module.
303 quota::SpecialStoragePolicy* GetSpecialStoragePolicy(); 302 quota::SpecialStoragePolicy* GetSpecialStoragePolicy();
304 303
305 protected: 304 protected:
306 base::Time start_time_; 305 base::Time start_time_;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 scoped_refptr<ChromeAppCacheService> appcache_service_; 422 scoped_refptr<ChromeAppCacheService> appcache_service_;
424 423
425 // The QuotaManager, only available if set explicitly via SetQuotaManager. 424 // The QuotaManager, only available if set explicitly via SetQuotaManager.
426 scoped_refptr<quota::QuotaManager> quota_manager_; 425 scoped_refptr<quota::QuotaManager> quota_manager_;
427 426
428 // Weak pointer to a delegate for indicating that a profile was created. 427 // Weak pointer to a delegate for indicating that a profile was created.
429 Delegate* delegate_; 428 Delegate* delegate_;
430 }; 429 };
431 430
432 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 431 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698