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_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 // content::BrowserContext implementation ------------------------------------ | 185 // content::BrowserContext implementation ------------------------------------ |
186 | 186 |
187 virtual FilePath GetPath() = 0; | 187 virtual FilePath GetPath() = 0; |
188 virtual SSLHostState* GetSSLHostState() = 0; | 188 virtual SSLHostState* GetSSLHostState() = 0; |
189 virtual content::DownloadManager* GetDownloadManager() = 0; | 189 virtual content::DownloadManager* GetDownloadManager() = 0; |
190 virtual net::URLRequestContextGetter* GetRequestContext() = 0; | 190 virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
191 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 191 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
192 int renderer_child_id) = 0; | 192 int renderer_child_id) = 0; |
193 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; | 193 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; |
194 virtual const content::ResourceContext& GetResourceContext() = 0; | 194 virtual const content::ResourceContext& GetResourceContext() = 0; |
195 virtual HostZoomMap* GetHostZoomMap() = 0; | 195 virtual content::HostZoomMap* GetHostZoomMap() = 0; |
196 virtual content::GeolocationPermissionContext* | 196 virtual content::GeolocationPermissionContext* |
197 GetGeolocationPermissionContext() = 0; | 197 GetGeolocationPermissionContext() = 0; |
198 virtual SpeechInputPreferences* GetSpeechInputPreferences() = 0; | 198 virtual SpeechInputPreferences* GetSpeechInputPreferences() = 0; |
199 virtual quota::QuotaManager* GetQuotaManager() = 0; | 199 virtual quota::QuotaManager* GetQuotaManager() = 0; |
200 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; | 200 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; |
201 virtual WebKitContext* GetWebKitContext() = 0; | 201 virtual WebKitContext* GetWebKitContext() = 0; |
202 virtual ChromeAppCacheService* GetAppCacheService() = 0; | 202 virtual ChromeAppCacheService* GetAppCacheService() = 0; |
203 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 203 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
204 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; | 204 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; |
205 | 205 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 struct hash<Profile*> { | 563 struct hash<Profile*> { |
564 std::size_t operator()(Profile* const& p) const { | 564 std::size_t operator()(Profile* const& p) const { |
565 return reinterpret_cast<std::size_t>(p); | 565 return reinterpret_cast<std::size_t>(p); |
566 } | 566 } |
567 }; | 567 }; |
568 | 568 |
569 } // namespace BASE_HASH_NAMESPACE | 569 } // namespace BASE_HASH_NAMESPACE |
570 #endif | 570 #endif |
571 | 571 |
572 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 572 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |