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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
99 virtual void CancelProtectedMediaIdentifierPermissionRequests( | 99 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
100 int render_process_id, | 100 int render_process_id, |
101 int render_view_id, | 101 int render_view_id, |
102 const GURL& origin) OVERRIDE; | 102 const GURL& origin) OVERRIDE; |
103 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 103 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
104 virtual content::GeolocationPermissionContext* | 104 virtual content::GeolocationPermissionContext* |
105 GetGeolocationPermissionContext() OVERRIDE; | 105 GetGeolocationPermissionContext() OVERRIDE; |
106 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 106 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
107 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 107 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
108 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | |
109 | 108 |
110 // Profile implementation: | 109 // Profile implementation: |
111 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 110 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
112 // Note that this implementation returns the Google-services username, if any, | 111 // Note that this implementation returns the Google-services username, if any, |
113 // not the Chrome user's display name. | 112 // not the Chrome user's display name. |
114 virtual std::string GetProfileName() OVERRIDE; | 113 virtual std::string GetProfileName() OVERRIDE; |
115 virtual ProfileType GetProfileType() const OVERRIDE; | 114 virtual ProfileType GetProfileType() const OVERRIDE; |
116 virtual bool IsOffTheRecord() const OVERRIDE; | 115 virtual bool IsOffTheRecord() const OVERRIDE; |
117 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 116 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
118 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 117 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 // components/keyed_service/content/browser_context_keyed_service_factory.* | 302 // components/keyed_service/content/browser_context_keyed_service_factory.* |
304 | 303 |
305 Profile::Delegate* delegate_; | 304 Profile::Delegate* delegate_; |
306 | 305 |
307 chrome_browser_net::Predictor* predictor_; | 306 chrome_browser_net::Predictor* predictor_; |
308 | 307 |
309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 308 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
310 }; | 309 }; |
311 | 310 |
312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 311 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |