| Index: chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
|
| diff --git a/chrome/browser/storage_monitor/removable_device_notifications_linux_unittest.cc b/chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
|
| similarity index 98%
|
| rename from chrome/browser/storage_monitor/removable_device_notifications_linux_unittest.cc
|
| rename to chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
|
| index 7fe78f7f662bdb707b636b2b46ee9ae5c93ad470..b68256de4b94f3da850acbb32519bde284e0f4ce 100644
|
| --- a/chrome/browser/storage_monitor/removable_device_notifications_linux_unittest.cc
|
| +++ b/chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| // RemovableDeviceNotificationsLinux unit tests.
|
|
|
| -#include "chrome/browser/storage_monitor/removable_device_notifications_linux.h"
|
| +#include "chrome/browser/storage_monitor/storage_monitor_linux.h"
|
|
|
| #include <mntent.h>
|
| #include <stdio.h>
|
| @@ -135,11 +135,11 @@ string16 GetDeviceName(const std::string& device) {
|
| }
|
|
|
| class RemovableDeviceNotificationsLinuxTestWrapper
|
| - : public RemovableDeviceNotificationsLinux {
|
| + : public StorageMonitorLinux {
|
| public:
|
| RemovableDeviceNotificationsLinuxTestWrapper(const base::FilePath& path,
|
| MessageLoop* message_loop)
|
| - : RemovableDeviceNotificationsLinux(path, &GetDeviceInfo),
|
| + : StorageMonitorLinux(path, &GetDeviceInfo),
|
| message_loop_(message_loop) {
|
| }
|
|
|
| @@ -151,7 +151,7 @@ class RemovableDeviceNotificationsLinuxTestWrapper
|
|
|
| virtual void OnFilePathChanged(const base::FilePath& path,
|
| bool error) OVERRIDE {
|
| - RemovableDeviceNotificationsLinux::OnFilePathChanged(path, error);
|
| + StorageMonitorLinux::OnFilePathChanged(path, error);
|
| message_loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
|
| }
|
|
|
| @@ -257,7 +257,7 @@ class RemovableDeviceNotificationLinuxTest : public testing::Test {
|
| return *mock_storage_observer_;
|
| }
|
|
|
| - RemovableDeviceNotificationsLinux* notifier() {
|
| + StorageMonitorLinux* notifier() {
|
| return notifications_.get();
|
| }
|
|
|
|
|