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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( | 91 net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition( |
92 const base::FilePath& partition_path, | 92 const base::FilePath& partition_path, |
93 bool in_memory) override; | 93 bool in_memory) override; |
94 content::ResourceContext* GetResourceContext() override; | 94 content::ResourceContext* GetResourceContext() override; |
95 content::BrowserPluginGuestManager* GetGuestManager() override; | 95 content::BrowserPluginGuestManager* GetGuestManager() override; |
96 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; | 96 storage::SpecialStoragePolicy* GetSpecialStoragePolicy() override; |
97 content::PushMessagingService* GetPushMessagingService() override; | 97 content::PushMessagingService* GetPushMessagingService() override; |
98 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 98 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
99 content::PermissionManager* GetPermissionManager() override; | 99 content::PermissionManager* GetPermissionManager() override; |
100 content::BackgroundSyncController* GetBackgroundSyncController() override; | 100 content::BackgroundSyncController* GetBackgroundSyncController() override; |
| 101 content::ChooserPermissionManager* GetChooserPermissionManager() override; |
101 | 102 |
102 // Profile implementation: | 103 // Profile implementation: |
103 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; | 104 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; |
104 // Note that this implementation returns the Google-services username, if any, | 105 // Note that this implementation returns the Google-services username, if any, |
105 // not the Chrome user's display name. | 106 // not the Chrome user's display name. |
106 std::string GetProfileUserName() const override; | 107 std::string GetProfileUserName() const override; |
107 ProfileType GetProfileType() const override; | 108 ProfileType GetProfileType() const override; |
108 bool IsOffTheRecord() const override; | 109 bool IsOffTheRecord() const override; |
109 Profile* GetOffTheRecordProfile() override; | 110 Profile* GetOffTheRecordProfile() override; |
110 void DestroyOffTheRecordProfile() override; | 111 void DestroyOffTheRecordProfile() override; |
(...skipping 162 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 |