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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 int render_process_id, | 78 int render_process_id, |
79 int render_view_id, | 79 int render_view_id, |
80 int bridge_id, | 80 int bridge_id, |
81 const GURL& requesting_frame, | 81 const GURL& requesting_frame, |
82 const MIDISysExPermissionCallback& callback) OVERRIDE; | 82 const MIDISysExPermissionCallback& callback) OVERRIDE; |
83 virtual void CancelMIDISysExPermissionRequest( | 83 virtual void CancelMIDISysExPermissionRequest( |
84 int render_process_id, | 84 int render_process_id, |
85 int render_view_id, | 85 int render_view_id, |
86 int bridge_id, | 86 int bridge_id, |
87 const GURL& requesting_frame) OVERRIDE; | 87 const GURL& requesting_frame) OVERRIDE; |
| 88 virtual void RequestProtectedMediaIdentifierPermission( |
| 89 int render_process_id, |
| 90 int render_view_id, |
| 91 int bridge_id, |
| 92 const GURL& requesting_frame, |
| 93 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 94 virtual void CancelProtectedMediaIdentifierPermissionRequest( |
| 95 int render_process_id, |
| 96 int render_view_id, |
| 97 int bridge_id, |
| 98 const GURL& requesting_frame) OVERRIDE; |
88 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 99 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
89 virtual content::GeolocationPermissionContext* | 100 virtual content::GeolocationPermissionContext* |
90 GetGeolocationPermissionContext() OVERRIDE; | 101 GetGeolocationPermissionContext() OVERRIDE; |
91 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 102 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
92 | 103 |
93 // Profile implementation: | 104 // Profile implementation: |
94 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 105 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
95 // Note that this implementation returns the Google-services username, if any, | 106 // Note that this implementation returns the Google-services username, if any, |
96 // not the Chrome user's display name. | 107 // not the Chrome user's display name. |
97 virtual std::string GetProfileName() OVERRIDE; | 108 virtual std::string GetProfileName() OVERRIDE; |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} | 284 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} |
274 | 285 |
275 Profile::Delegate* delegate_; | 286 Profile::Delegate* delegate_; |
276 | 287 |
277 chrome_browser_net::Predictor* predictor_; | 288 chrome_browser_net::Predictor* predictor_; |
278 | 289 |
279 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 290 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
280 }; | 291 }; |
281 | 292 |
282 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 293 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
OLD | NEW |