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 int client_id, |
| 105 const GURL& requesting_frame, |
| 106 const MIDISysExPermissionCallback& callback) OVERRIDE; |
101 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 107 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
102 virtual content::GeolocationPermissionContext* | 108 virtual content::GeolocationPermissionContext* |
103 GetGeolocationPermissionContext() OVERRIDE; | 109 GetGeolocationPermissionContext() OVERRIDE; |
104 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 110 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
105 | 111 |
106 private: | 112 private: |
107 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); | 113 FRIEND_TEST_ALL_PREFIXES(OffTheRecordProfileImplTest, GetHostZoomMap); |
108 void InitHostZoomMap(); | 114 void InitHostZoomMap(); |
109 | 115 |
110 #if defined(OS_ANDROID) || defined(OS_IOS) | 116 #if defined(OS_ANDROID) || defined(OS_IOS) |
(...skipping 19 matching lines...) Expand all Loading... |
130 base::FilePath last_selected_directory_; | 136 base::FilePath last_selected_directory_; |
131 | 137 |
132 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; | 138 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; |
133 | 139 |
134 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; | 140 content::HostZoomMap::ZoomLevelChangedCallback zoom_callback_; |
135 | 141 |
136 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 142 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
137 }; | 143 }; |
138 | 144 |
139 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ | 145 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ |
OLD | NEW |