| 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* |
| 103 GetGuestManagerDelegate() OVERRIDE; |
| 102 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 104 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 103 | 105 |
| 104 // Profile implementation: | 106 // Profile implementation: |
| 105 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 107 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
| 106 // Note that this implementation returns the Google-services username, if any, | 108 // Note that this implementation returns the Google-services username, if any, |
| 107 // not the Chrome user's display name. | 109 // not the Chrome user's display name. |
| 108 virtual std::string GetProfileName() OVERRIDE; | 110 virtual std::string GetProfileName() OVERRIDE; |
| 109 virtual ProfileType GetProfileType() const OVERRIDE; | 111 virtual ProfileType GetProfileType() const OVERRIDE; |
| 110 virtual bool IsOffTheRecord() const OVERRIDE; | 112 virtual bool IsOffTheRecord() const OVERRIDE; |
| 111 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 113 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 // components/keyed_service/content/browser_context_keyed_service_factory.* | 287 // components/keyed_service/content/browser_context_keyed_service_factory.* |
| 286 | 288 |
| 287 Profile::Delegate* delegate_; | 289 Profile::Delegate* delegate_; |
| 288 | 290 |
| 289 chrome_browser_net::Predictor* predictor_; | 291 chrome_browser_net::Predictor* predictor_; |
| 290 | 292 |
| 291 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 293 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 292 }; | 294 }; |
| 293 | 295 |
| 294 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 296 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |