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; |
108 | 109 |
109 // Profile implementation: | 110 // Profile implementation: |
110 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 111 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
111 // Note that this implementation returns the Google-services username, if any, | 112 // Note that this implementation returns the Google-services username, if any, |
112 // not the Chrome user's display name. | 113 // not the Chrome user's display name. |
113 virtual std::string GetProfileName() OVERRIDE; | 114 virtual std::string GetProfileName() OVERRIDE; |
114 virtual ProfileType GetProfileType() const OVERRIDE; | 115 virtual ProfileType GetProfileType() const OVERRIDE; |
115 virtual bool IsOffTheRecord() const OVERRIDE; | 116 virtual bool IsOffTheRecord() const OVERRIDE; |
116 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 117 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
117 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 118 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 // components/keyed_service/content/browser_context_keyed_service_factory.* | 303 // components/keyed_service/content/browser_context_keyed_service_factory.* |
303 | 304 |
304 Profile::Delegate* delegate_; | 305 Profile::Delegate* delegate_; |
305 | 306 |
306 chrome_browser_net::Predictor* predictor_; | 307 chrome_browser_net::Predictor* predictor_; |
307 | 308 |
308 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
309 }; | 310 }; |
310 | 311 |
311 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |