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

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

Issue 317823007: Hook PushMessagingMessageFilter up to GCMDriver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send failure IPC when service is NULL Created 6 years, 6 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
« no previous file with comments | « chrome/chrome_browser.gypi ('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/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 virtual net::URLRequestContextGetter* CreateRequestContext( 212 virtual net::URLRequestContextGetter* CreateRequestContext(
213 content::ProtocolHandlerMap* protocol_handlers, 213 content::ProtocolHandlerMap* protocol_handlers,
214 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE; 214 content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
215 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 215 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
216 int renderer_child_id) OVERRIDE; 216 int renderer_child_id) OVERRIDE;
217 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 217 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
218 virtual content::GeolocationPermissionContext* 218 virtual content::GeolocationPermissionContext*
219 GetGeolocationPermissionContext() OVERRIDE; 219 GetGeolocationPermissionContext() OVERRIDE;
220 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; 220 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
221 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 221 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
222 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE;
222 223
223 virtual TestingProfile* AsTestingProfile() OVERRIDE; 224 virtual TestingProfile* AsTestingProfile() OVERRIDE;
224 225
225 // Profile 226 // Profile
226 virtual std::string GetProfileName() OVERRIDE; 227 virtual std::string GetProfileName() OVERRIDE;
227 virtual ProfileType GetProfileType() const OVERRIDE; 228 virtual ProfileType GetProfileType() const OVERRIDE;
228 229
229 // DEPRECATED, because it's fragile to change a profile from non-incognito 230 // DEPRECATED, because it's fragile to change a profile from non-incognito
230 // to incognito after the ProfileKeyedServices have been created (some 231 // to incognito after the ProfileKeyedServices have been created (some
231 // ProfileKeyedServices either should not exist in incognito mode, or will 232 // ProfileKeyedServices either should not exist in incognito mode, or will
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 422
422 // Weak pointer to a delegate for indicating that a profile was created. 423 // Weak pointer to a delegate for indicating that a profile was created.
423 Delegate* delegate_; 424 Delegate* delegate_;
424 425
425 std::string profile_name_; 426 std::string profile_name_;
426 427
427 scoped_ptr<policy::PolicyService> policy_service_; 428 scoped_ptr<policy::PolicyService> policy_service_;
428 }; 429 };
429 430
430 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 431 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698