| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 virtual SSLHostState* GetSSLHostState() = 0; | 194 virtual SSLHostState* GetSSLHostState() = 0; |
| 195 virtual DownloadManager* GetDownloadManager() = 0; | 195 virtual DownloadManager* GetDownloadManager() = 0; |
| 196 virtual bool HasCreatedDownloadManager() const = 0; | 196 virtual bool HasCreatedDownloadManager() const = 0; |
| 197 virtual quota::QuotaManager* GetQuotaManager() = 0; | 197 virtual quota::QuotaManager* GetQuotaManager() = 0; |
| 198 virtual net::URLRequestContextGetter* GetRequestContext() = 0; | 198 virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
| 199 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 199 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 200 int renderer_child_id) = 0; | 200 int renderer_child_id) = 0; |
| 201 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; | 201 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; |
| 202 virtual const content::ResourceContext& GetResourceContext() = 0; | 202 virtual const content::ResourceContext& GetResourceContext() = 0; |
| 203 virtual HostZoomMap* GetHostZoomMap() = 0; | 203 virtual HostZoomMap* GetHostZoomMap() = 0; |
| 204 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() = 0; | |
| 205 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; | 204 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; |
| 206 virtual WebKitContext* GetWebKitContext() = 0; | 205 virtual WebKitContext* GetWebKitContext() = 0; |
| 207 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 206 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
| 208 | 207 |
| 209 // content::BrowserContext implementation ------------------------------------ | 208 // content::BrowserContext implementation ------------------------------------ |
| 210 | 209 |
| 211 // Returns the name associated with this profile. This name is displayed in | 210 // Returns the name associated with this profile. This name is displayed in |
| 212 // the browser frame. | 211 // the browser frame. |
| 213 virtual std::string GetProfileName() = 0; | 212 virtual std::string GetProfileName() = 0; |
| 214 | 213 |
| (...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 586 struct hash<Profile*> { | 585 struct hash<Profile*> { |
| 587 std::size_t operator()(Profile* const& p) const { | 586 std::size_t operator()(Profile* const& p) const { |
| 588 return reinterpret_cast<std::size_t>(p); | 587 return reinterpret_cast<std::size_t>(p); |
| 589 } | 588 } |
| 590 }; | 589 }; |
| 591 | 590 |
| 592 } // namespace __gnu_cxx | 591 } // namespace __gnu_cxx |
| 593 #endif | 592 #endif |
| 594 | 593 |
| 595 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 594 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
| OLD | NEW |