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

Unified Diff: base/test/mock_devices_changed_observer.h

Issue 10780023: Change base::SystemMonitor's media device functions to take a type and string16 instead of a FilePa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 5 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: base/test/mock_devices_changed_observer.h
===================================================================
--- base/test/mock_devices_changed_observer.h (revision 146883)
+++ base/test/mock_devices_changed_observer.h (working copy)
@@ -15,16 +15,17 @@
namespace base {
class MockDevicesChangedObserver
- : public base::SystemMonitor::DevicesChangedObserver {
+ : public base::SystemMonitor::DevicesChangedObserver {
public:
MockDevicesChangedObserver();
~MockDevicesChangedObserver();
MOCK_METHOD0(OnDevicesChanged, void());
- MOCK_METHOD3(OnMediaDeviceAttached,
+ MOCK_METHOD4(OnMediaDeviceAttached,
void(const base::SystemMonitor::DeviceIdType& id,
const std::string& name,
- const FilePath& path));
+ base::SystemMonitor::MediaDeviceType type,
+ const string16& data));
MOCK_METHOD1(OnMediaDeviceDetached,
void(const base::SystemMonitor::DeviceIdType& id));

Powered by Google App Engine
This is Rietveld 408576698