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

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

Issue 10696208: Move ExtensionEventRouter and related into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed bug + latest master 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
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('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) 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 virtual void SetOffTheRecordProfile(Profile* profile); 148 virtual void SetOffTheRecordProfile(Profile* profile);
149 virtual Profile* GetOffTheRecordProfile() OVERRIDE; 149 virtual Profile* GetOffTheRecordProfile() OVERRIDE;
150 virtual void DestroyOffTheRecordProfile() OVERRIDE {} 150 virtual void DestroyOffTheRecordProfile() OVERRIDE {}
151 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE; 151 virtual GAIAInfoUpdateService* GetGAIAInfoUpdateService() OVERRIDE;
152 virtual bool HasOffTheRecordProfile() OVERRIDE; 152 virtual bool HasOffTheRecordProfile() OVERRIDE;
153 virtual Profile* GetOriginalProfile() OVERRIDE; 153 virtual Profile* GetOriginalProfile() OVERRIDE;
154 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; 154 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE;
155 virtual ExtensionService* GetExtensionService() OVERRIDE; 155 virtual ExtensionService* GetExtensionService() OVERRIDE;
156 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE; 156 virtual extensions::UserScriptMaster* GetUserScriptMaster() OVERRIDE;
157 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE; 157 virtual ExtensionProcessManager* GetExtensionProcessManager() OVERRIDE;
158 virtual ExtensionEventRouter* GetExtensionEventRouter() OVERRIDE; 158 virtual extensions::EventRouter* GetExtensionEventRouter() OVERRIDE;
159 void SetExtensionSpecialStoragePolicy( 159 void SetExtensionSpecialStoragePolicy(
160 ExtensionSpecialStoragePolicy* extension_special_storage_policy); 160 ExtensionSpecialStoragePolicy* extension_special_storage_policy);
161 virtual ExtensionSpecialStoragePolicy* 161 virtual ExtensionSpecialStoragePolicy*
162 GetExtensionSpecialStoragePolicy() OVERRIDE; 162 GetExtensionSpecialStoragePolicy() OVERRIDE;
163 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE; 163 virtual FaviconService* GetFaviconService(ServiceAccessType access) OVERRIDE;
164 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE; 164 virtual HistoryService* GetHistoryService(ServiceAccessType access) OVERRIDE;
165 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE; 165 virtual HistoryService* GetHistoryServiceWithoutCreating() OVERRIDE;
166 // The CookieMonster will only be returned if a Context has been created. Do 166 // The CookieMonster will only be returned if a Context has been created. Do
167 // this by calling CreateRequestContext(). See the note at GetRequestContext 167 // this by calling CreateRequestContext(). See the note at GetRequestContext
168 // for more information. 168 // for more information.
(...skipping 133 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
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698