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

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

Issue 349073004: Cleanup: Remove deprecated Profile::GetExtensionService(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 6 years, 5 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
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 243 }
244 244
245 // Assumes ownership. 245 // Assumes ownership.
246 virtual void SetOffTheRecordProfile(scoped_ptr<Profile> profile); 246 virtual void SetOffTheRecordProfile(scoped_ptr<Profile> profile);
247 virtual void SetOriginalProfile(Profile* profile); 247 virtual void SetOriginalProfile(Profile* profile);
248 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 248 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
249 virtual void DestroyOffTheRecordProfile() OVERRIDE {} 249 virtual void DestroyOffTheRecordProfile() OVERRIDE {}
250 virtual bool HasOffTheRecordProfile() OVERRIDE; 250 virtual bool HasOffTheRecordProfile() OVERRIDE;
251 virtual Profile* GetOriginalProfile() OVERRIDE; 251 virtual Profile* GetOriginalProfile() OVERRIDE;
252 virtual bool IsSupervised() OVERRIDE; 252 virtual bool IsSupervised() OVERRIDE;
253 virtual ExtensionService* GetExtensionService() OVERRIDE;
254 void SetExtensionSpecialStoragePolicy( 253 void SetExtensionSpecialStoragePolicy(
255 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 254 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
256 virtual ExtensionSpecialStoragePolicy* 255 virtual ExtensionSpecialStoragePolicy*
257 GetExtensionSpecialStoragePolicy() OVERRIDE; 256 GetExtensionSpecialStoragePolicy() OVERRIDE;
258 // TODO(ajwong): Remove this API in favor of directly retrieving the 257 // TODO(ajwong): Remove this API in favor of directly retrieving the
259 // CookieStore from the StoragePartition after ExtensionURLRequestContext 258 // CookieStore from the StoragePartition after ExtensionURLRequestContext
260 // has been removed. 259 // has been removed.
261 net::CookieMonster* GetCookieMonster(); 260 net::CookieMonster* GetCookieMonster();
262 261
263 virtual PrefService* GetPrefs() OVERRIDE; 262 virtual PrefService* GetPrefs() OVERRIDE;
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 395
397 // Weak pointer to a delegate for indicating that a profile was created. 396 // Weak pointer to a delegate for indicating that a profile was created.
398 Delegate* delegate_; 397 Delegate* delegate_;
399 398
400 std::string profile_name_; 399 std::string profile_name_;
401 400
402 scoped_ptr<policy::PolicyService> policy_service_; 401 scoped_ptr<policy::PolicyService> policy_service_;
403 }; 402 };
404 403
405 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 404 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/cros_language_options_handler.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698