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 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix test merge Created 6 years, 8 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/test/base/testing_profile.h » ('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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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( 59 void FakeProfile::RequestMidiSysExPermission(
60 int render_process_id, 60 int render_process_id,
61 int render_view_id, 61 int render_view_id,
62 int bridge_id, 62 int bridge_id,
63 const GURL& requesting_frame, 63 const GURL& requesting_frame,
64 bool user_gesture,
64 const MidiSysExPermissionCallback& callback) { 65 const MidiSysExPermissionCallback& callback) {
65 } 66 }
66 67
67 void FakeProfile::CancelMidiSysExPermissionRequest( 68 void FakeProfile::CancelMidiSysExPermissionRequest(
68 int render_process_id, 69 int render_process_id,
69 int render_view_id, 70 int render_view_id,
70 int bridge_id, 71 int bridge_id,
71 const GURL& requesting_frame) { 72 const GURL& requesting_frame) {
72 } 73 }
73 74
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 216 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
216 return false; 217 return false;
217 } 218 }
218 219
219 void FakeProfile::SetExitType(ExitType exit_type) { 220 void FakeProfile::SetExitType(ExitType exit_type) {
220 } 221 }
221 222
222 Profile::ExitType FakeProfile::GetLastSessionExitType() { 223 Profile::ExitType FakeProfile::GetLastSessionExitType() {
223 return EXIT_NORMAL; 224 return EXIT_NORMAL;
224 } 225 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/test/fake_profile.h ('k') | chrome/test/base/testing_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698