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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 59 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
60 int renderer_child_id) OVERRIDE; | 60 int renderer_child_id) OVERRIDE; |
61 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; | 61 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
62 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 62 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
63 virtual content::GeolocationPermissionContext* | 63 virtual content::GeolocationPermissionContext* |
64 GetGeolocationPermissionContext() OVERRIDE; | 64 GetGeolocationPermissionContext() OVERRIDE; |
65 virtual content::SpeechRecognitionPreferences* | 65 virtual content::SpeechRecognitionPreferences* |
66 GetSpeechRecognitionPreferences() OVERRIDE; | 66 GetSpeechRecognitionPreferences() OVERRIDE; |
67 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 67 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
68 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 68 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 69 virtual bool ShouldSaveSessionStorageOnDisk() OVERRIDE; |
69 | 70 |
70 // Profile implementation: | 71 // Profile implementation: |
71 virtual std::string GetProfileName() OVERRIDE; | 72 virtual std::string GetProfileName() OVERRIDE; |
72 virtual bool IsOffTheRecord() const OVERRIDE; | 73 virtual bool IsOffTheRecord() const OVERRIDE; |
73 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 74 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
74 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 75 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
75 virtual bool HasOffTheRecordProfile() OVERRIDE; | 76 virtual bool HasOffTheRecordProfile() OVERRIDE; |
76 virtual Profile* GetOriginalProfile() OVERRIDE; | 77 virtual Profile* GetOriginalProfile() OVERRIDE; |
77 virtual history::TopSites* GetTopSites() OVERRIDE; | 78 virtual history::TopSites* GetTopSites() OVERRIDE; |
78 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 79 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 Profile::Delegate* delegate_; | 269 Profile::Delegate* delegate_; |
269 | 270 |
270 chrome_browser_net::Predictor* predictor_; | 271 chrome_browser_net::Predictor* predictor_; |
271 | 272 |
272 bool session_restore_enabled_; | 273 bool session_restore_enabled_; |
273 | 274 |
274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 275 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
275 }; | 276 }; |
276 | 277 |
277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 278 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |