| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 69 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
| 70 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 70 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
| 71 int renderer_child_id) OVERRIDE; | 71 int renderer_child_id) OVERRIDE; |
| 72 virtual net::URLRequestContextGetter* | 72 virtual net::URLRequestContextGetter* |
| 73 GetMediaRequestContextForStoragePartition( | 73 GetMediaRequestContextForStoragePartition( |
| 74 const base::FilePath& partition_path, | 74 const base::FilePath& partition_path, |
| 75 bool in_memory) OVERRIDE; | 75 bool in_memory) OVERRIDE; |
| 76 virtual void RequestMIDISysExPermission( | 76 virtual void RequestMIDISysExPermission( |
| 77 int render_process_id, | 77 int render_process_id, |
| 78 int render_view_id, | 78 int render_view_id, |
| 79 int bridge_id, |
| 79 const GURL& requesting_frame, | 80 const GURL& requesting_frame, |
| 80 const MIDISysExPermissionCallback& callback) OVERRIDE; | 81 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 82 virtual void CancelMIDISysExPermissionRequest( |
| 83 int render_process_id, |
| 84 int render_view_id, |
| 85 int bridge_id, |
| 86 const GURL& requesting_frame) OVERRIDE; |
| 81 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 87 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
| 82 virtual content::GeolocationPermissionContext* | 88 virtual content::GeolocationPermissionContext* |
| 83 GetGeolocationPermissionContext() OVERRIDE; | 89 GetGeolocationPermissionContext() OVERRIDE; |
| 84 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 90 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 85 | 91 |
| 86 // Profile implementation: | 92 // Profile implementation: |
| 87 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 93 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
| 88 // Note that this implementation returns the Google-services username, if any, | 94 // Note that this implementation returns the Google-services username, if any, |
| 89 // not the Chrome user's display name. | 95 // not the Chrome user's display name. |
| 90 virtual std::string GetProfileName() OVERRIDE; | 96 virtual std::string GetProfileName() OVERRIDE; |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} | 274 // components/browser_context_keyed_service/browser_context_keyed_service_fa
ctory.{h,cc} |
| 269 | 275 |
| 270 Profile::Delegate* delegate_; | 276 Profile::Delegate* delegate_; |
| 271 | 277 |
| 272 chrome_browser_net::Predictor* predictor_; | 278 chrome_browser_net::Predictor* predictor_; |
| 273 | 279 |
| 274 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); | 280 DISALLOW_COPY_AND_ASSIGN(ProfileImpl); |
| 275 }; | 281 }; |
| 276 | 282 |
| 277 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ | 283 #endif // CHROME_BROWSER_PROFILES_PROFILE_IMPL_H_ |
| OLD | NEW |