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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 183 |
184 // content::BrowserContext implementation ------------------------------------ | 184 // content::BrowserContext implementation ------------------------------------ |
185 | 185 |
186 virtual FilePath GetPath() = 0; | 186 virtual FilePath GetPath() = 0; |
187 virtual SSLHostState* GetSSLHostState() = 0; | 187 virtual SSLHostState* GetSSLHostState() = 0; |
188 virtual content::DownloadManager* GetDownloadManager() = 0; | 188 virtual content::DownloadManager* GetDownloadManager() = 0; |
189 virtual net::URLRequestContextGetter* GetRequestContext() = 0; | 189 virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
190 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 190 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
191 int renderer_child_id) = 0; | 191 int renderer_child_id) = 0; |
192 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; | 192 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; |
193 virtual const content::ResourceContext& GetResourceContext() = 0; | 193 virtual content::ResourceContext* GetResourceContext() = 0; |
194 virtual content::HostZoomMap* GetHostZoomMap() = 0; | 194 virtual content::HostZoomMap* GetHostZoomMap() = 0; |
195 virtual content::GeolocationPermissionContext* | 195 virtual content::GeolocationPermissionContext* |
196 GetGeolocationPermissionContext() = 0; | 196 GetGeolocationPermissionContext() = 0; |
197 virtual SpeechInputPreferences* GetSpeechInputPreferences() = 0; | 197 virtual SpeechInputPreferences* GetSpeechInputPreferences() = 0; |
198 virtual quota::QuotaManager* GetQuotaManager() = 0; | 198 virtual quota::QuotaManager* GetQuotaManager() = 0; |
199 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; | 199 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; |
200 virtual WebKitContext* GetWebKitContext() = 0; | 200 virtual WebKitContext* GetWebKitContext() = 0; |
201 virtual ChromeAppCacheService* GetAppCacheService() = 0; | 201 virtual ChromeAppCacheService* GetAppCacheService() = 0; |
202 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 202 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
203 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; | 203 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
554 struct hash<Profile*> { | 554 struct hash<Profile*> { |
555 std::size_t operator()(Profile* const& p) const { | 555 std::size_t operator()(Profile* const& p) const { |
556 return reinterpret_cast<std::size_t>(p); | 556 return reinterpret_cast<std::size_t>(p); |
557 } | 557 } |
558 }; | 558 }; |
559 | 559 |
560 } // namespace BASE_HASH_NAMESPACE | 560 } // namespace BASE_HASH_NAMESPACE |
561 #endif | 561 #endif |
562 | 562 |
563 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 563 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |