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

Side by Side Diff: chrome/browser/ui/app_list/test/fake_profile.cc

Issue 38043004: Cancel MIDI permission request infobar on MIDIAccess stop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved empty CancelMIDISysExPermissionRequest implementations to headers 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
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 return NULL; 45 return NULL;
46 } 46 }
47 47
48 net::URLRequestContextGetter* 48 net::URLRequestContextGetter*
49 FakeProfile::GetMediaRequestContextForStoragePartition( 49 FakeProfile::GetMediaRequestContextForStoragePartition(
50 const base::FilePath& partition_path, 50 const base::FilePath& partition_path,
51 bool in_memory) { 51 bool in_memory) {
52 return NULL; 52 return NULL;
53 } 53 }
54 54
55 void FakeProfile::RequestMIDISysExPermission(
56 int render_process_id,
57 int render_view_id,
58 const GURL& requesting_frame,
59 const MIDISysExPermissionCallback& callback) {
60 }
61
62 content::ResourceContext* FakeProfile::GetResourceContext() { 55 content::ResourceContext* FakeProfile::GetResourceContext() {
63 return NULL; 56 return NULL;
64 } 57 }
65 58
66 content::GeolocationPermissionContext* 59 content::GeolocationPermissionContext*
67 FakeProfile::GetGeolocationPermissionContext() { 60 FakeProfile::GetGeolocationPermissionContext() {
68 return NULL; 61 return NULL;
69 } 62 }
70 63
71 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { 64 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() {
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 184 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
192 return false; 185 return false;
193 } 186 }
194 187
195 void FakeProfile::SetExitType(ExitType exit_type) { 188 void FakeProfile::SetExitType(ExitType exit_type) {
196 } 189 }
197 190
198 Profile::ExitType FakeProfile::GetLastSessionExitType() { 191 Profile::ExitType FakeProfile::GetLastSessionExitType() {
199 return EXIT_NORMAL; 192 return EXIT_NORMAL;
200 } 193 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698