| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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( | 55 void FakeProfile::RequestMidiSysExPermission( |
| 56 int render_process_id, | 56 int render_process_id, |
| 57 int render_view_id, | 57 int render_view_id, |
| 58 int bridge_id, | 58 int bridge_id, |
| 59 const GURL& requesting_frame, | 59 const GURL& requesting_frame, |
| 60 bool user_gesture, |
| 60 const MidiSysExPermissionCallback& callback) { | 61 const MidiSysExPermissionCallback& callback) { |
| 61 } | 62 } |
| 62 | 63 |
| 63 void FakeProfile::CancelMidiSysExPermissionRequest( | 64 void FakeProfile::CancelMidiSysExPermissionRequest( |
| 64 int render_process_id, | 65 int render_process_id, |
| 65 int render_view_id, | 66 int render_view_id, |
| 66 int bridge_id, | 67 int bridge_id, |
| 67 const GURL& requesting_frame) { | 68 const GURL& requesting_frame) { |
| 68 } | 69 } |
| 69 | 70 |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { | 210 bool FakeProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 210 return false; | 211 return false; |
| 211 } | 212 } |
| 212 | 213 |
| 213 void FakeProfile::SetExitType(ExitType exit_type) { | 214 void FakeProfile::SetExitType(ExitType exit_type) { |
| 214 } | 215 } |
| 215 | 216 |
| 216 Profile::ExitType FakeProfile::GetLastSessionExitType() { | 217 Profile::ExitType FakeProfile::GetLastSessionExitType() { |
| 217 return EXIT_NORMAL; | 218 return EXIT_NORMAL; |
| 218 } | 219 } |
| OLD | NEW |