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

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

Issue 10696176: Move UserScript and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void set_incognito(bool incognito) { incognito_ = incognito; } 141 void set_incognito(bool incognito) { incognito_ = incognito; }
142 // Assumes ownership. 142 // Assumes ownership.
143 virtual void SetOffTheRecordProfile(Profile* profile); 143 virtual void SetOffTheRecordProfile(Profile* profile);
144 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 144 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
145 virtual void DestroyOffTheRecordProfile() OVERRIDE {} 145 virtual void DestroyOffTheRecordProfile() OVERRIDE {}
146 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 146 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
147 virtual bool HasOffTheRecordProfile() OVERRIDE; 147 virtual bool HasOffTheRecordProfile() OVERRIDE;
148 virtual Profile* GetOriginalProfile() OVERRIDE; 148 virtual Profile* GetOriginalProfile() OVERRIDE;
149 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; 149 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE;
150 virtual ExtensionService* GetExtensionService() OVERRIDE; 150 virtual ExtensionService* GetExtensionService() OVERRIDE;
151 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; 151 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE;
152 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; 152 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE;
153 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; 153 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE;
154 void SetExtensionSpecialStoragePolicy( 154 void SetExtensionSpecialStoragePolicy(
155 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 155 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
156 virtual ExtensionSpecialStoragePolicy* 156 virtual ExtensionSpecialStoragePolicy*
157 GetExtensionSpecialStoragePolicy() OVERRIDE; 157 GetExtensionSpecialStoragePolicy() OVERRIDE;
158 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; 158 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE;
159 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; 159 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE;
160 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; 160 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE;
161 // The CookieMonster will only be returned if a Context has been created. Do 161 // The CookieMonster will only be returned if a Context has been created. Do
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 // testing. 302 // testing.
303 ProfileDependencyManager* profile_dependency_manager_; 303 ProfileDependencyManager* profile_dependency_manager_;
304 304
305 scoped_ptr<content::MockResourceContext> resource_context_; 305 scoped_ptr<content::MockResourceContext> resource_context_;
306 306
307 // Weak pointer to a delegate for indicating that a profile was created. 307 // Weak pointer to a delegate for indicating that a profile was created.
308 Delegate* delegate_; 308 Delegate* delegate_;
309 }; 309 };
310 310
311 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 311 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698