Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: chrome/browser/profiles/off_the_record_profile_impl.h

Issue 335993002: Convert MIDI permission requests to use WebContents in preparation for switching the code to using … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 98 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
99 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 99 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
100 int renderer_child_id) OVERRIDE; 100 int renderer_child_id) OVERRIDE;
101 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 101 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
102 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 102 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
103 int renderer_child_id) OVERRIDE; 103 int renderer_child_id) OVERRIDE;
104 virtual net::URLRequestContextGetter* 104 virtual net::URLRequestContextGetter*
105 GetMediaRequestContextForStoragePartition( 105 GetMediaRequestContextForStoragePartition(
106 const base::FilePath& partition_path, 106 const base::FilePath& partition_path,
107 bool in_memory) OVERRIDE; 107 bool in_memory) OVERRIDE;
108 virtual void RequestMidiSysExPermission(
109 int render_process_id,
110 int render_view_id,
111 int bridge_id,
112 const GURL& requesting_frame,
113 bool user_gesture,
114 const MidiSysExPermissionCallback& callback) OVERRIDE;
115 virtual void CancelMidiSysExPermissionRequest(
116 int render_process_id,
117 int render_view_id,
118 int bridge_id,
119 const GURL& requesting_frame) OVERRIDE;
120 virtual void RequestProtectedMediaIdentifierPermission( 108 virtual void RequestProtectedMediaIdentifierPermission(
121 int render_process_id, 109 int render_process_id,
122 int render_view_id, 110 int render_view_id,
123 const GURL& origin, 111 const GURL& origin,
124 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 112 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
125 virtual void CancelProtectedMediaIdentifierPermissionRequests( 113 virtual void CancelProtectedMediaIdentifierPermissionRequests(
126 int render_process_id, 114 int render_process_id,
127 int render_view_id, 115 int render_view_id,
128 const GURL& origin) OVERRIDE; 116 const GURL& origin) OVERRIDE;
129 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 117 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
(...skipping 30 matching lines...) Expand all
160 base::FilePath last_selected_directory_; 148 base::FilePath last_selected_directory_;
161 149
162 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_; 150 scoped_ptr<PrefProxyConfigTracker> pref_proxy_config_tracker_;
163 151
164 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_; 152 scoped_ptr<content::HostZoomMap::Subscription> zoom_subscription_;
165 153
166 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); 154 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl);
167 }; 155 };
168 156
169 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_ 157 #endif // CHROME_BROWSER_PROFILES_OFF_THE_RECORD_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/media/midi_permission_infobar_delegate.h ('k') | chrome/browser/profiles/off_the_record_profile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698