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

Side by Side Diff: chrome/browser/profiles/profile_impl.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
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 // This class gathers state related to a single user profile. 5 // This class gathers state related to a single user profile.
6 6
7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 81 net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
82 int renderer_child_id) override; 82 int renderer_child_id) override;
83 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( 83 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(
84 const base::FilePath& partition_path, 84 const base::FilePath& partition_path,
85 bool in_memory) override; 85 bool in_memory) override;
86 content::ResourceContext* GetResourceContext() override; 86 content::ResourceContext* GetResourceContext() override;
87 content::BrowserPluginGuestManager* GetGuestManager() override; 87 content::BrowserPluginGuestManager* GetGuestManager() override;
88 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; 88 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override;
89 content::PushMessagingService* GetPushMessagingService() override; 89 content::PushMessagingService* GetPushMessagingService() override;
90 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; 90 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
91 content::PermissionManager* GetPermissionManager() override;
91 92
92 // Profile implementation: 93 // Profile implementation:
93 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; 94 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override;
94 // Note that this implementation returns the Google-services username, if any, 95 // Note that this implementation returns the Google-services username, if any,
95 // not the Chrome user's display name. 96 // not the Chrome user's display name.
96 std::string GetProfileUserName() const override; 97 std::string GetProfileUserName() const override;
97 ProfileType GetProfileType() const override; 98 ProfileType GetProfileType() const override;
98 bool IsOffTheRecord() const override; 99 bool IsOffTheRecord() const override;
99 Profile* GetOffTheRecordProfile() override; 100 Profile* GetOffTheRecordProfile() override;
100 void DestroyOffTheRecordProfile() override; 101 void DestroyOffTheRecordProfile() override;
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // components/keyed_service/content/browser_context_keyed_service_factory.* 274 // components/keyed_service/content/browser_context_keyed_service_factory.*
274 275
275 Profile::Delegate* delegate_; 276 Profile::Delegate* delegate_;
276 277
277 chrome_browser_net::Predictor* predictor_; 278 chrome_browser_net::Predictor* predictor_;
278 279
279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); 280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl);
280 }; 281 };
281 282
282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ 283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698