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 virtual void RequestProtectedMediaIdentifierPermission( | 94 virtual void RequestProtectedMediaIdentifierPermission( |
95 int render_process_id, | 95 int render_process_id, |
96 int render_view_id, | 96 int render_view_id, |
97 const GURL& origin, | 97 const GURL& origin, |
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* | |
105 GetGeolocationPermissionContext() OVERRIDE; | |
106 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 104 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
107 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 105 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
108 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; | 106 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
109 | 107 |
110 // Profile implementation: | 108 // Profile implementation: |
111 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 109 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
112 // Note that this implementation returns the Google-services username, if any, | 110 // Note that this implementation returns the Google-services username, if any, |
113 // not the Chrome user's display name. | 111 // not the Chrome user's display name. |
114 virtual std::string GetProfileName() OVERRIDE; | 112 virtual std::string GetProfileName() OVERRIDE; |
115 virtual ProfileType GetProfileType() const OVERRIDE; | 113 virtual ProfileType GetProfileType() const OVERRIDE; |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 // components/keyed_service/content/browser_context_keyed_service_factory.* | 301 // components/keyed_service/content/browser_context_keyed_service_factory.* |
304 | 302 |
305 Profile::Delegate* delegate_; | 303 Profile::Delegate* delegate_; |
306 | 304 |
307 chrome_browser_net::Predictor* predictor_; | 305 chrome_browser_net::Predictor* predictor_; |
308 | 306 |
309 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 307 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
310 }; | 308 }; |
311 | 309 |
312 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 310 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |