OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |