Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1477)

Unified Diff: chrome/browser/storage_monitor/storage_monitor_linux_unittest.cc

Issue 12382005: Rename RemovableDeviceNotifications=>StorageMonitor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698