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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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( | 101 virtual void RequestMIDISysExPermission( |
102 int render_process_id, | 102 int render_process_id, |
103 int render_view_id, | 103 int render_view_id, |
| 104 int bridge_id, |
104 const GURL& requesting_frame, | 105 const GURL& requesting_frame, |
105 const MIDISysExPermissionCallback& callback) OVERRIDE; | 106 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 107 virtual void CancelMIDISysExPermissionRequest( |
| 108 int render_process_id, |
| 109 int render_view_id, |
| 110 int bridge_id, |
| 111 const GURL& requesting_frame) OVERRIDE; |
106 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 112 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
107 virtual content::GeolocationPermissionContext* | 113 virtual content::GeolocationPermissionContext* |
108 GetGeolocationPermissionContext() OVERRIDE; | 114 GetGeolocationPermissionContext() OVERRIDE; |
109 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 115 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
110 | 116 |
111 private: | 117 private: |
112 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); | 118 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); |
113 void InitHostZoomMap(); | 119 void InitHostZoomMap(); |
114 | 120 |
115 #if defined(OS_ANDROID) || defined(OS_IOS) | 121 #if defined(OS_ANDROID) || defined(OS_IOS) |
(...skipping 20 matching lines...) Expand all Loading... |
136 base::FilePath last_selected_directory_; | 142 base::FilePath last_selected_directory_; |
137 | 143 |
138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 144 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
139 | 145 |
140 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; | 146 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; |
141 | 147 |
142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 148 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
143 }; | 149 }; |
144 | 150 |
145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 151 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |