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