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