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

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

Issue 11232066: Remove GetExtensionEventRouter from Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 1 month 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/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 void set_incognito(bool incognito) { incognito_ = incognito; } 204 void set_incognito(bool incognito) { incognito_ = incognito; }
205 // Assumes ownership. 205 // Assumes ownership.
206 virtual void SetOffTheRecordProfile(Profile* profile); 206 virtual void SetOffTheRecordProfile(Profile* profile);
207 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 207 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
208 virtual void DestroyOffTheRecordProfile() OVERRIDE {} 208 virtual void DestroyOffTheRecordProfile() OVERRIDE {}
209 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 209 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
210 virtual bool HasOffTheRecordProfile() OVERRIDE; 210 virtual bool HasOffTheRecordProfile() OVERRIDE;
211 virtual Profile* GetOriginalProfile() OVERRIDE; 211 virtual Profile* GetOriginalProfile() OVERRIDE;
212 virtual ExtensionService* GetExtensionService() OVERRIDE; 212 virtual ExtensionService* GetExtensionService() OVERRIDE;
213 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; 213 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE;
214 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE;
215 void SetExtensionSpecialStoragePolicy( 214 void SetExtensionSpecialStoragePolicy(
216 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 215 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
217 virtual ExtensionSpecialStoragePolicy* 216 virtual ExtensionSpecialStoragePolicy*
218 GetExtensionSpecialStoragePolicy() OVERRIDE; 217 GetExtensionSpecialStoragePolicy() OVERRIDE;
219 // The CookieMonster will only be returned if a Context has been created. Do 218 // The CookieMonster will only be returned if a Context has been created. Do
220 // this by calling CreateRequestContext(). See the note at GetRequestContext 219 // this by calling CreateRequestContext(). See the note at GetRequestContext
221 // for more information. 220 // for more information.
222 net::CookieMonster* GetCookieMonster(); 221 net::CookieMonster* GetCookieMonster();
223 222
224 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE; 223 virtual policy::UserCloudPolicyManager* GetUserCloudPolicyManager() OVERRIDE;
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // testing. 363 // testing.
365 ProfileDependencyManager* profile_dependency_manager_; 364 ProfileDependencyManager* profile_dependency_manager_;
366 365
367 scoped_ptr<content::MockResourceContext> resource_context_; 366 scoped_ptr<content::MockResourceContext> resource_context_;
368 367
369 // Weak pointer to a delegate for indicating that a profile was created. 368 // Weak pointer to a delegate for indicating that a profile was created.
370 Delegate* delegate_; 369 Delegate* delegate_;
371 }; 370 };
372 371
373 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 372 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698