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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "chrome/browser/ui/app_list/test/fake_profile.h" 5 #include "chrome/browser/ui/app_list/test/fake_profile.h"
6 6
7 FakeProfile::FakeProfile(const std::string& name) 7 FakeProfile::FakeProfile(const std::string& name)
8 : name_(name) { 8 : name_(name) {
9 } 9 }
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 return NULL; 49 return NULL;
50 } 50 }
51 51
52 net::URLRequestContextGetter* 52 net::URLRequestContextGetter*
53 FakeProfile::GetMediaRequestContextForStoragePartition( 53 FakeProfile::GetMediaRequestContextForStoragePartition(
54 const base::FilePath& partition_path, 54 const base::FilePath& partition_path,
55 bool in_memory) { 55 bool in_memory) {
56 return NULL; 56 return NULL;
57 } 57 }
58 58
59 void FakeProfile::RequestMidiSysExPermission(
60 int render_process_id,
61 int render_view_id,
62 int bridge_id,
63 const GURL& requesting_frame,
64 bool user_gesture,
65 const MidiSysExPermissionCallback& callback) {
66 }
67
68 void FakeProfile::CancelMidiSysExPermissionRequest(
69 int render_process_id,
70 int render_view_id,
71 int bridge_id,
72 const GURL& requesting_frame) {
73 }
74
75 void FakeProfile::RequestProtectedMediaIdentifierPermission( 59 void FakeProfile::RequestProtectedMediaIdentifierPermission(
76 int render_process_id, 60 int render_process_id,
77 int render_view_id, 61 int render_view_id,
78 const GURL& origin, 62 const GURL& origin,
79 const ProtectedMediaIdentifierPermissionCallback& callback) { 63 const ProtectedMediaIdentifierPermissionCallback& callback) {
80 } 64 }
81 65
82 void FakeProfile::CancelProtectedMediaIdentifierPermissionRequests( 66 void FakeProfile::CancelProtectedMediaIdentifierPermissionRequests(
83 int render_process_id, 67 int render_process_id,
84 int render_view_id, 68 int render_view_id,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 213 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
230 return false; 214 return false;
231 } 215 }
232 216
233 void FakeProfile::SetExitType(ExitType exit_type) { 217 void FakeProfile::SetExitType(ExitType exit_type) {
234 } 218 }
235 219
236 Profile::ExitType FakeProfile::GetLastSessionExitType() { 220 Profile::ExitType FakeProfile::GetLastSessionExitType() {
237 return EXIT_NORMAL; 221 return EXIT_NORMAL;
238 } 222 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698