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

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

Issue 1011953003: Refactor Permissions related method out of ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_type_enum_class
Patch Set: fix cros Created 5 years, 8 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/chrome_tests_unit.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 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 net::URLRequestContextGetter* CreateRequestContext( 231 net::URLRequestContextGetter* CreateRequestContext(
232 content::ProtocolHandlerMap* protocol_handlers, 232 content::ProtocolHandlerMap* protocol_handlers,
233 content::URLRequestInterceptorScopedVector request_interceptors) override; 233 content::URLRequestInterceptorScopedVector request_interceptors) override;
234 net::URLRequestContextGetter* GetRequestContextForRenderProcess( 234 net::URLRequestContextGetter* GetRequestContextForRenderProcess(
235 int renderer_child_id) override; 235 int renderer_child_id) override;
236 content::ResourceContext* GetResourceContext() override; 236 content::ResourceContext* GetResourceContext() override;
237 content::BrowserPluginGuestManager* GetGuestManager() override; 237 content::BrowserPluginGuestManager* GetGuestManager() override;
238 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 238 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
239 content::PushMessagingService* GetPushMessagingService() override; 239 content::PushMessagingService* GetPushMessagingService() override;
240 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 240 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
241 content::PermissionManager* GetPermissionManager() override;
241 242
242 TestingProfile* AsTestingProfile() override; 243 TestingProfile* AsTestingProfile() override;
243 244
244 // Profile 245 // Profile
245 std::string GetProfileUserName() const override; 246 std::string GetProfileUserName() const override;
246 ProfileType GetProfileType() const override; 247 ProfileType GetProfileType() const override;
247 248
248 // DEPRECATED, because it's fragile to change a profile from non-incognito 249 // DEPRECATED, because it's fragile to change a profile from non-incognito
249 // to incognito after the ProfileKeyedServices have been created (some 250 // to incognito after the ProfileKeyedServices have been created (some
250 // ProfileKeyedServices either should not exist in incognito mode, or will 251 // ProfileKeyedServices either should not exist in incognito mode, or will
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 412
412 // Weak pointer to a delegate for indicating that a profile was created. 413 // Weak pointer to a delegate for indicating that a profile was created.
413 Delegate* delegate_; 414 Delegate* delegate_;
414 415
415 std::string profile_name_; 416 std::string profile_name_;
416 417
417 scoped_ptr<policy::PolicyService> policy_service_; 418 scoped_ptr<policy::PolicyService> policy_service_;
418 }; 419 };
419 420
420 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 421 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698