| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 static void RegisterUserPrefs(PrefService* prefs); | 53 static void RegisterUserPrefs(PrefService* prefs); |
| 54 | 54 |
| 55 // content::BrowserContext implementation: | 55 // content::BrowserContext implementation: |
| 56 virtual FilePath GetPath() OVERRIDE; | 56 virtual FilePath GetPath() OVERRIDE; |
| 57 virtual content::DownloadManagerDelegate* | 57 virtual content::DownloadManagerDelegate* |
| 58 GetDownloadManagerDelegate() OVERRIDE; | 58 GetDownloadManagerDelegate() OVERRIDE; |
| 59 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 59 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
| 60 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 60 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
| 61 int renderer_child_id) OVERRIDE; | 61 int renderer_child_id) OVERRIDE; |
| 62 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( | 62 virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition( |
| 63 const std::string& partition_id) OVERRIDE; | 63 const FilePath& partition_path, |
| 64 bool in_memory) OVERRIDE; |
| 64 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 65 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 65 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 66 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 66 int renderer_child_id) OVERRIDE; | 67 int renderer_child_id) OVERRIDE; |
| 67 virtual net::URLRequestContextGetter* | 68 virtual net::URLRequestContextGetter* |
| 68 GetMediaRequestContextForStoragePartition( | 69 GetMediaRequestContextForStoragePartition( |
| 69 const std::string& partition_id) OVERRIDE; | 70 const FilePath& partition_path, |
| 71 bool in_memory) OVERRIDE; |
| 70 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 72 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 71 virtual content::GeolocationPermissionContext* | 73 virtual content::GeolocationPermissionContext* |
| 72 GetGeolocationPermissionContext() OVERRIDE; | 74 GetGeolocationPermissionContext() OVERRIDE; |
| 73 virtual content::SpeechRecognitionPreferences* | 75 virtual content::SpeechRecognitionPreferences* |
| 74 GetSpeechRecognitionPreferences() OVERRIDE; | 76 GetSpeechRecognitionPreferences() OVERRIDE; |
| 75 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 77 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 76 | 78 |
| 77 // Profile implementation: | 79 // Profile implementation: |
| 78 virtual std::string GetProfileName() OVERRIDE; | 80 virtual std::string GetProfileName() OVERRIDE; |
| 79 virtual bool IsOffTheRecord() const OVERRIDE; | 81 virtual bool IsOffTheRecord() const OVERRIDE; |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} | 257 // chrome/browser/profile/profile_keyed_dependency_manager.{h,cc} |
| 256 | 258 |
| 257 Profile::Delegate* delegate_; | 259 Profile::Delegate* delegate_; |
| 258 | 260 |
| 259 chrome_browser_net::Predictor* predictor_; | 261 chrome_browser_net::Predictor* predictor_; |
| 260 | 262 |
| 261 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 263 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 262 }; | 264 }; |
| 263 | 265 |
| 264 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 266 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |