| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/system_monitor/test_removable_storage_notifications.h" | 5 #include "chrome/browser/system_monitor/test_removable_storage_notifications.h" |
| 6 | 6 |
| 7 namespace chrome { | 7 namespace chrome { |
| 8 namespace test { | 8 namespace test { |
| 9 | 9 |
| 10 TestRemovableStorageNotifications::TestRemovableStorageNotifications() | 10 TestRemovableStorageNotifications::TestRemovableStorageNotifications() |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #if defined(OS_WIN) | 26 #if defined(OS_WIN) |
| 27 bool TestRemovableStorageNotifications::GetMTPStorageInfoFromDeviceId( | 27 bool TestRemovableStorageNotifications::GetMTPStorageInfoFromDeviceId( |
| 28 const std::string& storage_device_id, | 28 const std::string& storage_device_id, |
| 29 string16* device_location, | 29 string16* device_location, |
| 30 string16* storage_object_id) const { | 30 string16* storage_object_id) const { |
| 31 return false; | 31 return false; |
| 32 } | 32 } |
| 33 #endif | 33 #endif |
| 34 | 34 |
| 35 void TestRemovableStorageNotifications::ProcessAttach( |
| 36 const std::string& id, |
| 37 const string16& name, |
| 38 const FilePath::StringType& location) { |
| 39 receiver()->ProcessAttach(id, name, location); |
| 40 } |
| 41 |
| 42 void TestRemovableStorageNotifications::ProcessDetach(const std::string& id) { |
| 43 receiver()->ProcessDetach(id); |
| 44 } |
| 45 |
| 46 RemovableStorageNotifications::Receiver* |
| 47 TestRemovableStorageNotifications::receiver() const { |
| 48 return RemovableStorageNotifications::receiver(); |
| 49 } |
| 50 |
| 35 } // namespace test | 51 } // namespace test |
| 36 } // namespace chrome | 52 } // namespace chrome |
| OLD | NEW |