| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |