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

Unified Diff: chrome/browser/intents/device_attached_intent_source.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: chrome/browser/intents/device_attached_intent_source.h
===================================================================
--- chrome/browser/intents/device_attached_intent_source.h (revision 146883)
+++ chrome/browser/intents/device_attached_intent_source.h (working copy)
@@ -7,7 +7,6 @@
#include "base/system_monitor/system_monitor.h"
-class FilePath;
class Browser;
namespace content {
@@ -28,11 +27,12 @@
content::WebContentsDelegate* delegate);
virtual ~DeviceAttachedIntentSource();
- // DevicesChangedObserver
+ // DevicesChangedObserver implementation.
virtual void OnMediaDeviceAttached(
const base::SystemMonitor::DeviceIdType& id,
const std::string& name,
- const FilePath& path) OVERRIDE;
+ base::SystemMonitor::MediaDeviceType type,
+ const string16& data) OVERRIDE;
private:
// Weak pointer to browser to which intents will be dispatched.

Powered by Google App Engine
This is Rietveld 408576698