| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |