Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 197 virtual SSLHostState* GetSSLHostState() = 0; | 197 virtual SSLHostState* GetSSLHostState() = 0; |
| 198 virtual DownloadManager* GetDownloadManager() = 0; | 198 virtual DownloadManager* GetDownloadManager() = 0; |
| 199 virtual bool HasCreatedDownloadManager() const = 0; | 199 virtual bool HasCreatedDownloadManager() const = 0; |
| 200 virtual net::URLRequestContextGetter* GetRequestContext() = 0; | 200 virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
| 201 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 201 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 202 int renderer_child_id) = 0; | 202 int renderer_child_id) = 0; |
| 203 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; | 203 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; |
| 204 virtual const content::ResourceContext& GetResourceContext() = 0; | 204 virtual const content::ResourceContext& GetResourceContext() = 0; |
| 205 virtual HostZoomMap* GetHostZoomMap() = 0; | 205 virtual HostZoomMap* GetHostZoomMap() = 0; |
| 206 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; | 206 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; |
| 207 virtual bool GetSpeechCensorPref() = 0; | |
|
Satish
2011/09/23 09:44:57
perhaps this should return pointer to a SpeechInpu
allanwoj
2011/09/23 14:12:44
Done.
| |
| 207 virtual quota::QuotaManager* GetQuotaManager() = 0; | 208 virtual quota::QuotaManager* GetQuotaManager() = 0; |
| 208 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; | 209 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() = 0; |
| 209 virtual WebKitContext* GetWebKitContext() = 0; | 210 virtual WebKitContext* GetWebKitContext() = 0; |
| 210 virtual ChromeAppCacheService* GetAppCacheService() = 0; | 211 virtual ChromeAppCacheService* GetAppCacheService() = 0; |
| 211 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 212 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
| 212 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; | 213 virtual fileapi::FileSystemContext* GetFileSystemContext() = 0; |
| 213 | 214 |
| 214 // content::BrowserContext implementation ------------------------------------ | 215 // content::BrowserContext implementation ------------------------------------ |
| 215 | 216 |
| 216 // Returns the name associated with this profile. This name is displayed in | 217 // Returns the name associated with this profile. This name is displayed in |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 583 struct hash<Profile*> { | 584 struct hash<Profile*> { |
| 584 std::size_t operator()(Profile* const& p) const { | 585 std::size_t operator()(Profile* const& p) const { |
| 585 return reinterpret_cast<std::size_t>(p); | 586 return reinterpret_cast<std::size_t>(p); |
| 586 } | 587 } |
| 587 }; | 588 }; |
| 588 | 589 |
| 589 } // namespace __gnu_cxx | 590 } // namespace __gnu_cxx |
| 590 #endif | 591 #endif |
| 591 | 592 |
| 592 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 593 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |