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_IMPL_H_ | 7 #ifndef CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 8 #define CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 static void RegisterUserPrefs(PrefService* prefs); | 51 static void RegisterUserPrefs(PrefService* prefs); |
52 | 52 |
53 // content::BrowserContext implementation: | 53 // content::BrowserContext implementation: |
54 virtual FilePath GetPath() OVERRIDE; | 54 virtual FilePath GetPath() OVERRIDE; |
55 virtual content::DownloadManagerDelegate* | 55 virtual content::DownloadManagerDelegate* |
56 GetDownloadManagerDelegate() OVERRIDE; | 56 GetDownloadManagerDelegate() OVERRIDE; |
57 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 57 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
58 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 58 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
59 int renderer_child_id) OVERRIDE; | 59 int renderer_child_id) OVERRIDE; |
60 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 60 virtual net::URLRequestContextGetter* |
| 61 GetDefaultRequestContextForMedia() OVERRIDE; |
| 62 virtual net::URLRequestContextGetter* GetRequestContextForMedia( |
| 63 int renderer_child_id) OVERRIDE; |
61 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 64 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
62 virtual content::GeolocationPermissionContext* | 65 virtual content::GeolocationPermissionContext* |
63 GetGeolocationPermissionContext() OVERRIDE; | 66 GetGeolocationPermissionContext() OVERRIDE; |
64 virtual content::SpeechRecognitionPreferences* | 67 virtual content::SpeechRecognitionPreferences* |
65 GetSpeechRecognitionPreferences() OVERRIDE; | 68 GetSpeechRecognitionPreferences() OVERRIDE; |
66 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 69 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
67 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 70 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
68 | 71 |
69 // Profile implementation: | 72 // Profile implementation: |
70 virtual std::string GetProfileName() OVERRIDE; | 73 virtual std::string GetProfileName() OVERRIDE; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 255 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
253 | 256 |
254 Profile::Delegate* delegate_; | 257 Profile::Delegate* delegate_; |
255 | 258 |
256 chrome_browser_net::Predictor* predictor_; | 259 chrome_browser_net::Predictor* predictor_; |
257 | 260 |
258 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 261 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
259 }; | 262 }; |
260 | 263 |
261 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 264 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |