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

Side by Side Diff: android_webview/browser/aw_browser_context.h

Issue 38043004: Cancel MIDI permission request infobar on MIDIAccess stop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Delay "requests_.Remove(it.GetCurrentKey());" until we're done using |it|. Created 7 years, 1 month 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
« 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 int renderer_child_id) OVERRIDE; 83 int renderer_child_id) OVERRIDE;
84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; 84 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( 85 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(
86 int renderer_child_id) OVERRIDE; 86 int renderer_child_id) OVERRIDE;
87 virtual net::URLRequestContextGetter* 87 virtual net::URLRequestContextGetter*
88 GetMediaRequestContextForStoragePartition( 88 GetMediaRequestContextForStoragePartition(
89 const base::FilePath& partition_path, bool in_memory) OVERRIDE; 89 const base::FilePath& partition_path, bool in_memory) OVERRIDE;
90 virtual void RequestMIDISysExPermission( 90 virtual void RequestMIDISysExPermission(
91 int render_process_id, 91 int render_process_id,
92 int render_view_id, 92 int render_view_id,
93 int bridge_id,
93 const GURL& requesting_frame, 94 const GURL& requesting_frame,
94 const MIDISysExPermissionCallback& callback) OVERRIDE; 95 const MIDISysExPermissionCallback& callback) OVERRIDE;
96 virtual void CancelMIDISysExPermissionRequest(
97 int render_process_id,
98 int render_view_id,
99 int bridge_id,
100 const GURL& requesting_frame) OVERRIDE;
95 virtual content::ResourceContext* GetResourceContext() OVERRIDE; 101 virtual content::ResourceContext* GetResourceContext() OVERRIDE;
96 virtual content::DownloadManagerDelegate* 102 virtual content::DownloadManagerDelegate*
97 GetDownloadManagerDelegate() OVERRIDE; 103 GetDownloadManagerDelegate() OVERRIDE;
98 virtual content::GeolocationPermissionContext* 104 virtual content::GeolocationPermissionContext*
99 GetGeolocationPermissionContext() OVERRIDE; 105 GetGeolocationPermissionContext() OVERRIDE;
100 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; 106 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
101 107
102 // visitedlink::VisitedLinkDelegate implementation. 108 // visitedlink::VisitedLinkDelegate implementation.
103 virtual void RebuildTable( 109 virtual void RebuildTable(
104 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE; 110 const scoped_refptr<URLEnumerator>& enumerator) OVERRIDE;
(...skipping 16 matching lines...) Expand all
121 scoped_ptr<content::ResourceContext> resource_context_; 127 scoped_ptr<content::ResourceContext> resource_context_;
122 128
123 bool user_pref_service_ready_; 129 bool user_pref_service_ready_;
124 130
125 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext); 131 DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
126 }; 132 };
127 133
128 } // namespace android_webview 134 } // namespace android_webview
129 135
130 #endif // ANDROID_WEBVIEW_BROWSER_AW_BROWSER_CONTEXT_H_ 136 #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