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 quota::QuotaManager* GetQuotaManager() = 0; | 200 virtual quota::QuotaManager* GetQuotaManager() = 0; |
201 virtual net::URLRequestContextGetter* GetRequestContext() = 0; | 201 virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
202 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 202 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
203 int renderer_child_id) = 0; | 203 int renderer_child_id) = 0; |
204 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; | 204 virtual net::URLRequestContextGetter* GetRequestContextForMedia() = 0; |
205 virtual const content::ResourceContext& GetResourceContext() = 0; | 205 virtual const content::ResourceContext& GetResourceContext() = 0; |
206 virtual HostZoomMap* GetHostZoomMap() = 0; | 206 virtual HostZoomMap* GetHostZoomMap() = 0; |
207 virtual GeolocationContentSettingsMap* GetGeolocationContentSettingsMap() = 0; | |
208 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; | 207 virtual GeolocationPermissionContext* GetGeolocationPermissionContext() = 0; |
209 virtual WebKitContext* GetWebKitContext() = 0; | 208 virtual WebKitContext* GetWebKitContext() = 0; |
210 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; | 209 virtual ChromeBlobStorageContext* GetBlobStorageContext() = 0; |
211 | 210 |
212 // content::BrowserContext implementation ------------------------------------ | 211 // content::BrowserContext implementation ------------------------------------ |
213 | 212 |
214 // Returns the name associated with this profile. This name is displayed in | 213 // Returns the name associated with this profile. This name is displayed in |
215 // the browser frame. | 214 // the browser frame. |
216 virtual std::string GetProfileName() = 0; | 215 virtual std::string GetProfileName() = 0; |
217 | 216 |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
592 struct hash<Profile*> { | 591 struct hash<Profile*> { |
593 std::size_t operator()(Profile* const& p) const { | 592 std::size_t operator()(Profile* const& p) const { |
594 return reinterpret_cast<std::size_t>(p); | 593 return reinterpret_cast<std::size_t>(p); |
595 } | 594 } |
596 }; | 595 }; |
597 | 596 |
598 } // namespace __gnu_cxx | 597 } // namespace __gnu_cxx |
599 #endif | 598 #endif |
600 | 599 |
601 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ | 600 #endif // CHROME_BROWSER_PROFILES_PROFILE_H_ |
OLD | NEW |