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* GetRequestContextForMedia() OVERRIDE; | 59 virtual net::URLRequestContextGetter* GetRequestContextForMedia() OVERRIDE; |
60 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 60 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
61 virtual content::GeolocationPermissionContext* | 61 virtual content::GeolocationPermissionContext* |
62 GetGeolocationPermissionContext() OVERRIDE; | 62 GetGeolocationPermissionContext() OVERRIDE; |
63 virtual content::SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; | 63 virtual content::SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; |
64 virtual bool DidLastSessionExitCleanly() OVERRIDE; | 64 virtual bool DidLastSessionExitCleanly() OVERRIDE; |
65 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 65 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
66 | 66 |
67 // Profile implementation: | 67 // Profile implementation: |
68 virtual std::string GetProfileName() OVERRIDE; | 68 virtual std::string GetProfileName() OVERRIDE; |
69 virtual bool IsOffTheRecord() OVERRIDE; | 69 virtual bool IsOffTheRecord() const OVERRIDE; |
70 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 70 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
71 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 71 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
72 virtual bool HasOffTheRecordProfile() OVERRIDE; | 72 virtual bool HasOffTheRecordProfile() OVERRIDE; |
73 virtual Profile* GetOriginalProfile() OVERRIDE; | 73 virtual Profile* GetOriginalProfile() OVERRIDE; |
74 virtual history::TopSites* GetTopSites() OVERRIDE; | 74 virtual history::TopSites* GetTopSites() OVERRIDE; |
75 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 75 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
76 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; | 76 virtual VisitedLinkMaster* GetVisitedLinkMaster() OVERRIDE; |
77 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; | 77 virtual UserScriptMaster* GetUserScriptMaster() OVERRIDE; |
78 virtual ExtensionService* GetExtensionService() OVERRIDE; | 78 virtual ExtensionService* GetExtensionService() OVERRIDE; |
79 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() OVERRIDE; | 79 virtual ExtensionDevToolsManager* GetExtensionDevToolsManager() OVERRIDE; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 Profile::Delegate* delegate_; | 297 Profile::Delegate* delegate_; |
298 | 298 |
299 chrome_browser_net::Predictor* predictor_; | 299 chrome_browser_net::Predictor* predictor_; |
300 | 300 |
301 bool session_restore_enabled_; | 301 bool session_restore_enabled_; |
302 | 302 |
303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 303 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
304 }; | 304 }; |
305 | 305 |
306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 306 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |