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

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

Issue 151343002: Web MIDI: make naming convention be consistent (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review boliu #2 Created 6 years, 11 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 aa4f58f6a2a7663317ff2671be4386edbcea3070..87aa06988c32c0a96d0266401cbe706bc34a2398 100644
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
@@ -300,29 +300,29 @@ OffTheRecordProfileImpl::GetMediaRequestContextForStoragePartition(
.get();
}
-void OffTheRecordProfileImpl::RequestMIDISysExPermission(
+void OffTheRecordProfileImpl::RequestMidiSysExPermission(
int render_process_id,
int render_view_id,
int bridge_id,
const GURL& requesting_frame,
- const MIDISysExPermissionCallback& callback) {
- ChromeMIDIPermissionContext* context =
- ChromeMIDIPermissionContextFactory::GetForProfile(this);
- context->RequestMIDISysExPermission(render_process_id,
+ const MidiSysExPermissionCallback& callback) {
+ ChromeMidiPermissionContext* context =
+ ChromeMidiPermissionContextFactory::GetForProfile(this);
+ context->RequestMidiSysExPermission(render_process_id,
render_view_id,
bridge_id,
requesting_frame,
callback);
}
-void OffTheRecordProfileImpl::CancelMIDISysExPermissionRequest(
+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(
+ ChromeMidiPermissionContext* context =
+ ChromeMidiPermissionContextFactory::GetForProfile(this);
+ context->CancelMidiSysExPermissionRequest(
render_process_id, render_view_id, bridge_id, requesting_frame);
}
« 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