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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 int render_view_id, | 94 int render_view_id, |
95 int bridge_id, | 95 int bridge_id, |
96 int group_id, | 96 int group_id, |
97 const GURL& requesting_frame, | 97 const GURL& requesting_frame, |
98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 98 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
99 virtual void CancelProtectedMediaIdentifierPermissionRequests( | 99 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
100 int group_id) OVERRIDE; | 100 int group_id) OVERRIDE; |
101 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 101 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
102 virtual content::GeolocationPermissionContext* | 102 virtual content::GeolocationPermissionContext* |
103 GetGeolocationPermissionContext() OVERRIDE; | 103 GetGeolocationPermissionContext() OVERRIDE; |
104 virtual content::BrowserPluginGuestManagerDelegate* | 104 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
105 GetGuestManagerDelegate() OVERRIDE; | |
106 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 105 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
107 | 106 |
108 // Profile implementation: | 107 // Profile implementation: |
109 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 108 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
110 // Note that this implementation returns the Google-services username, if any, | 109 // Note that this implementation returns the Google-services username, if any, |
111 // not the Chrome user's display name. | 110 // not the Chrome user's display name. |
112 virtual std::string GetProfileName() OVERRIDE; | 111 virtual std::string GetProfileName() OVERRIDE; |
113 virtual ProfileType GetProfileType() const OVERRIDE; | 112 virtual ProfileType GetProfileType() const OVERRIDE; |
114 virtual bool IsOffTheRecord() const OVERRIDE; | 113 virtual bool IsOffTheRecord() const OVERRIDE; |
115 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 114 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 // components/keyed_service/content/browser_context_keyed_service_factory.* | 292 // components/keyed_service/content/browser_context_keyed_service_factory.* |
294 | 293 |
295 Profile::Delegate* delegate_; | 294 Profile::Delegate* delegate_; |
296 | 295 |
297 chrome_browser_net::Predictor* predictor_; | 296 chrome_browser_net::Predictor* predictor_; |
298 | 297 |
299 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 298 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
300 }; | 299 }; |
301 | 300 |
302 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 301 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |