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