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

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

Issue 107413006: Dismiss EME infobar when WebMediaPlayer is destroyed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make FakeProfile class happy 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 unified diff | Download patch
« 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 const MIDISysExPermissionCallback& callback) { 60 const MIDISysExPermissionCallback& callback) {
61 } 61 }
62 62
63 void FakeProfile::CancelMIDISysExPermissionRequest( 63 void FakeProfile::CancelMIDISysExPermissionRequest(
64 int render_process_id, 64 int render_process_id,
65 int render_view_id, 65 int render_view_id,
66 int bridge_id, 66 int bridge_id,
67 const GURL& requesting_frame) { 67 const GURL& requesting_frame) {
68 } 68 }
69 69
70 void FakeProfile::RequestProtectedMediaIdentifierPermission(
71 int render_process_id,
72 int render_view_id,
73 int bridge_id,
74 int group_id,
75 const GURL& requesting_frame,
76 const ProtectedMediaIdentifierPermissionCallback& callback) {
77 }
78
79 void FakeProfile::CancelProtectedMediaIdentifierPermissionRequests(
80 int group_id) {
81 }
82
70 content::ResourceContext* FakeProfile::GetResourceContext() { 83 content::ResourceContext* FakeProfile::GetResourceContext() {
71 return NULL; 84 return NULL;
72 } 85 }
73 86
74 content::GeolocationPermissionContext* 87 content::GeolocationPermissionContext*
75 FakeProfile::GetGeolocationPermissionContext() { 88 FakeProfile::GetGeolocationPermissionContext() {
76 return NULL; 89 return NULL;
77 } 90 }
78 91
79 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() { 92 quota::SpecialStoragePolicy* FakeProfile::GetSpecialStoragePolicy() {
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { 209 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) {
197 return false; 210 return false;
198 } 211 }
199 212
200 void FakeProfile::SetExitType(ExitType exit_type) { 213 void FakeProfile::SetExitType(ExitType exit_type) {
201 } 214 }
202 215
203 Profile::ExitType FakeProfile::GetLastSessionExitType() { 216 Profile::ExitType FakeProfile::GetLastSessionExitType() {
204 return EXIT_NORMAL; 217 return EXIT_NORMAL;
205 } 218 }
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