#ifndef BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_
#define BASE_TEST_MOCK_DEVICES_CHANGED_OBSERVER_H_
#include <string>
#include "base/system_monitor/system_monitor.h"
#include "testing/gmock/include/gmock/gmock.h"
namespace base {
class MockDevicesChangedObserver
: public base::SystemMonitor::DevicesChangedObserver {
public:
MockDevicesChangedObserver();
~MockDevicesChangedObserver();
MOCK_METHOD1(OnDevicesChanged,
void(base::SystemMonitor::DeviceType device_type));
MOCK_METHOD3(OnRemovableStorageAttached,
void(const std::string& id,
const string16& name,
const FilePath::StringType& location));
MOCK_METHOD1(OnRemovableStorageDetached, void(const std::string& id));
DISALLOW_COPY_AND_ASSIGN(MockDevicesChangedObserver);
};
}
#endif