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 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 6 #define CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; | 91 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; |
92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( | 92 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( |
93 int renderer_child_id) OVERRIDE; | 93 int renderer_child_id) OVERRIDE; |
94 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 94 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
95 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 95 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
96 int renderer_child_id) OVERRIDE; | 96 int renderer_child_id) OVERRIDE; |
97 virtual net::URLRequestContextGetter* | 97 virtual net::URLRequestContextGetter* |
98 GetMediaRequestContextForStoragePartition( | 98 GetMediaRequestContextForStoragePartition( |
99 const base::FilePath& partition_path, | 99 const base::FilePath& partition_path, |
100 bool in_memory) OVERRIDE; | 100 bool in_memory) OVERRIDE; |
101 virtual void RequestMIDISysExPermission( | |
102 int render_process_id, | |
103 int render_view_id, | |
104 const GURL& requesting_frame, | |
105 const MIDISysExPermissionCallback& callback) OVERRIDE; | |
106 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 101 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
107 virtual content::GeolocationPermissionContext* | 102 virtual content::GeolocationPermissionContext* |
108 GetGeolocationPermissionContext() OVERRIDE; | 103 GetGeolocationPermissionContext() OVERRIDE; |
| 104 virtual content::MidiPermissionContext* GetMidiPermissionContext() OVERRIDE; |
109 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 105 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
110 | 106 |
111 private: | 107 private: |
112 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); | 108 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); |
113 void InitHostZoomMap(); | 109 void InitHostZoomMap(); |
114 | 110 |
115 #if defined(OS_ANDROID) || defined(OS_IOS) | 111 #if defined(OS_ANDROID) || defined(OS_IOS) |
116 void UseSystemProxy(); | 112 void UseSystemProxy(); |
117 #endif // defined(OS_ANDROID) || defined(OS_IOS) | 113 #endif // defined(OS_ANDROID) || defined(OS_IOS) |
118 | 114 |
(...skipping 17 matching lines...) Expand all Loading... |
136 base::FilePath last_selected_directory_; | 132 base::FilePath last_selected_directory_; |
137 | 133 |
138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 134 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
139 | 135 |
140 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; | 136 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
141 | 137 |
142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 138 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
143 }; | 139 }; |
144 | 140 |
145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 141 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |