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

Side by Side Diff: android_webview/browser/aw_browser_context.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
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "android_webview/browser/aw_download_manager_delegate.h" 10 #include "android_webview/browser/aw_download_manager_delegate.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 virtual bool IsOffTheRecord() const OVERRIDE; 93 virtual bool IsOffTheRecord() const OVERRIDE;
94 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE; 94 virtual net::URLRequestContextGetter* GetRequestContext() OVERRIDE;
95 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess( 95 virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
96 int renderer_child_id) OVERRIDE; 96 int renderer_child_id) OVERRIDE;
97 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 97 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
98 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 98 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
99 int renderer_child_id) OVERRIDE; 99 int renderer_child_id) OVERRIDE;
100 virtual net::URLRequestContextGetter* 100 virtual net::URLRequestContextGetter*
101 GetMediaRequestContextForStoragePartition( 101 GetMediaRequestContextForStoragePartition(
102 const base::FilePath& partition_path, bool in_memory) OVERRIDE; 102 const base::FilePath& partition_path, bool in_memory) OVERRIDE;
103 virtual void RequestMidiSysExPermission(
104 int render_process_id,
105 int render_view_id,
106 int bridge_id,
107 const GURL& requesting_frame,
108 bool user_gesture,
109 const MidiSysExPermissionCallback& callback) OVERRIDE;
110 virtual void CancelMidiSysExPermissionRequest(
111 int render_process_id,
112 int render_view_id,
113 int bridge_id,
114 const GURL& requesting_frame) OVERRIDE;
115 virtual void RequestProtectedMediaIdentifierPermission( 103 virtual void RequestProtectedMediaIdentifierPermission(
116 int render_process_id, 104 int render_process_id,
117 int render_view_id, 105 int render_view_id,
118 const GURL& origin, 106 const GURL& origin,
119 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; 107 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE;
120 virtual void CancelProtectedMediaIdentifierPermissionRequests( 108 virtual void CancelProtectedMediaIdentifierPermissionRequests(
121 int render_process_id, 109 int render_process_id,
122 int render_view_id, 110 int render_view_id,
123 const GURL& origin) OVERRIDE; 111 const GURL& origin) OVERRIDE;
124 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 112 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
(...skipping 27 matching lines...) Expand all
152 scoped_ptr<PrefService> user_pref_service_; 140 scoped_ptr<PrefService> user_pref_service_;
153 141
154 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_; 142 scoped_ptr<DataReductionProxySettings> data_reduction_proxy_settings_;
155 143
156 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 144 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
157 }; 145 };
158 146
159 } // namespace android_webview 147 } // namespace android_webview
160 148
161 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 149 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_browser_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698