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

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

Issue 1613473002: Replace TestingProfile::GetCookieMonster with GetCookieStore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed some stuff Created 4 years, 11 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
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 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 11 matching lines...) Expand all
22 class ExtensionSpecialStoragePolicy; 22 class ExtensionSpecialStoragePolicy;
23 class HostContentSettingsMap; 23 class HostContentSettingsMap;
24 24
25 namespace content { 25 namespace content {
26 class MockResourceContext; 26 class MockResourceContext;
27 class SSLHostStateDelegate; 27 class SSLHostStateDelegate;
28 class ZoomLevelDelegate; 28 class ZoomLevelDelegate;
29 } 29 }
30 30
31 namespace net { 31 namespace net {
32 class CookieMonster; 32 class CookieStore;
33 class URLRequestContextGetter; 33 class URLRequestContextGetter;
34 } 34 }
35 35
36 namespace policy { 36 namespace policy {
37 class PolicyService; 37 class PolicyService;
38 class ProfilePolicyConnector; 38 class ProfilePolicyConnector;
39 class SchemaRegistryService; 39 class SchemaRegistryService;
40 } 40 }
41 41
42 namespace storage { 42 namespace storage {
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 bool IsChild() const override; 262 bool IsChild() const override;
263 bool IsLegacySupervised() const override; 263 bool IsLegacySupervised() const override;
264 #if defined(ENABLE_EXTENSIONS) 264 #if defined(ENABLE_EXTENSIONS)
265 void SetExtensionSpecialStoragePolicy( 265 void SetExtensionSpecialStoragePolicy(
266 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 266 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
267 #endif 267 #endif
268 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; 268 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override;
269 // TODO(ajwong): Remove this API in favor of directly retrieving the 269 // TODO(ajwong): Remove this API in favor of directly retrieving the
270 // CookieStore from the StoragePartition after ExtensionURLRequestContext 270 // CookieStore from the StoragePartition after ExtensionURLRequestContext
271 // has been removed. 271 // has been removed.
272 net::CookieMonster* GetCookieMonster(); 272 net::CookieStore* GetCookieStore();
273 273
274 PrefService* GetPrefs() override; 274 PrefService* GetPrefs() override;
275 const PrefService* GetPrefs() const override; 275 const PrefService* GetPrefs() const override;
276 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override; 276 ChromeZoomLevelPrefs* GetZoomLevelPrefs() override;
277 277
278 net::URLRequestContextGetter* GetMediaRequestContext() override; 278 net::URLRequestContextGetter* GetMediaRequestContext() override;
279 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 279 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
280 int renderer_child_id) override; 280 int renderer_child_id) override;
281 net::URLRequestContextGetter* GetRequestContextForExtensions() override; 281 net::URLRequestContextGetter* GetRequestContextForExtensions() override;
282 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 282 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 409
410 // Weak pointer to a delegate for indicating that a profile was created. 410 // Weak pointer to a delegate for indicating that a profile was created.
411 Delegate* delegate_; 411 Delegate* delegate_;
412 412
413 std::string profile_name_; 413 std::string profile_name_;
414 414
415 scoped_ptr<policy::PolicyService> policy_service_; 415 scoped_ptr<policy::PolicyService> policy_service_;
416 }; 416 };
417 417
418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 418 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698