Chromium Code Reviews| 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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* GetRequestContextForMedia() OVERRIDE; | 62 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
| 63 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 63 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 64 virtual content::GeolocationPermissionContext* | 64 virtual content::GeolocationPermissionContext* |
| 65 GetGeolocationPermissionContext() OVERRIDE; | 65 GetGeolocationPermissionContext() OVERRIDE; |
| 66 virtual content::SpeechRecognitionPreferences* | 66 virtual content::SpeechRecognitionPreferences* |
| 67 GetSpeechRecognitionPreferences() OVERRIDE; | 67 GetSpeechRecognitionPreferences() OVERRIDE; |
| 68 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 68 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
| 69 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 69 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 70 virtual bool ShouldSaveSessionStorageOnDisk() const OVERRIDE; | |
|
sail
2012/07/11 16:56:11
I'm not sure what session storage is. Does this re
marja
2012/07/12 09:22:03
sessionStorage is part of the HTML5 DOM storage sp
| |
| 70 | 71 |
| 71 // Profile implementation: | 72 // Profile implementation: |
| 72 virtual std::string GetProfileName() OVERRIDE; | 73 virtual std::string GetProfileName() OVERRIDE; |
| 73 virtual bool IsOffTheRecord() const OVERRIDE; | 74 virtual bool IsOffTheRecord() const OVERRIDE; |
| 74 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 75 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| 75 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 76 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
| 76 virtual bool HasOffTheRecordProfile() OVERRIDE; | 77 virtual bool HasOffTheRecordProfile() OVERRIDE; |
| 77 virtual Profile* GetOriginalProfile() OVERRIDE; | 78 virtual Profile* GetOriginalProfile() OVERRIDE; |
| 78 virtual history::TopSites* GetTopSites() OVERRIDE; | 79 virtual history::TopSites* GetTopSites() OVERRIDE; |
| 79 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 80 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 266 Profile::Delegate* delegate_; | 267 Profile::Delegate* delegate_; |
| 267 | 268 |
| 268 chrome_browser_net::Predictor* predictor_; | 269 chrome_browser_net::Predictor* predictor_; |
| 269 | 270 |
| 270 bool session_restore_enabled_; | 271 bool session_restore_enabled_; |
| 271 | 272 |
| 272 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 273 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 273 }; | 274 }; |
| 274 | 275 |
| 275 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 276 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |