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

Unified Diff: chrome/browser/profiles/off_the_record_profile_impl.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/off_the_record_profile_impl.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
index 46ca5f5919b912799d8ec0b74f1040911d108a87..04e38ba51ae95e4370bc39a26bafcab520281e0f 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -24,8 +24,6 @@
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_special_storage_policy.h"
#include "chrome/browser/io_thread.h"
-#include "chrome/browser/media/chrome_midi_permission_context.h"
-#include "chrome/browser/media/chrome_midi_permission_context_factory.h"
#include "chrome/browser/net/pref_proxy_config_tracker.h"
#include "chrome/browser/net/proxy_service_factory.h"
#include "chrome/browser/plugins/chrome_plugin_service_filter.h"
@@ -318,34 +316,6 @@ OffTheRecordProfileImpl::GetMediaRequestContextForStoragePartition(
.get();
}
-void OffTheRecordProfileImpl::RequestMidiSysExPermission(
- int render_process_id,
- int render_view_id,
- int bridge_id,
- const GURL& requesting_frame,
- bool user_gesture,
- const MidiSysExPermissionCallback& callback) {
- ChromeMidiPermissionContext* context =
- ChromeMidiPermissionContextFactory::GetForProfile(this);
- context->RequestMidiSysExPermission(render_process_id,
- render_view_id,
- bridge_id,
- requesting_frame,
- user_gesture,
- callback);
-}
-
-void OffTheRecordProfileImpl::CancelMidiSysExPermissionRequest(
- int render_process_id,
- int render_view_id,
- int bridge_id,
- const GURL& requesting_frame) {
- ChromeMidiPermissionContext* context =
- ChromeMidiPermissionContextFactory::GetForProfile(this);
- context->CancelMidiSysExPermissionRequest(
- render_process_id, render_view_id, bridge_id, requesting_frame);
-}
-
void OffTheRecordProfileImpl::RequestProtectedMediaIdentifierPermission(
int render_process_id,
int render_view_id,
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.h ('k') | chrome/browser/profiles/profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698