Chromium Code Reviews| Index: chrome/browser/intents/device_attached_intent_source.h |
| diff --git a/chrome/browser/intents/device_attached_intent_source.h b/chrome/browser/intents/device_attached_intent_source.h |
| index 96fd51caa5c3a458ad63c085a42be1fb76847d3a..f8c914c0b4988e5ae7f8541ec5b9e35e3cf5e05e 100644 |
| --- a/chrome/browser/intents/device_attached_intent_source.h |
| +++ b/chrome/browser/intents/device_attached_intent_source.h |
| @@ -33,11 +33,16 @@ class DeviceAttachedIntentSource |
| const string16& name, |
| base::SystemMonitor::MediaDeviceType type, |
| const FilePath::StringType& location) OVERRIDE; |
| + virtual void OnMediaDeviceDetached(const std::string& id) OVERRIDE; |
| private: |
| + typedef std::map<std::string, base::SystemMonitor::MediaDeviceInfo> |
| + DeviceIdToInfoMap; |
|
kmadhusu
2012/08/01 23:39:35
thestig@: Since the detach notification didn't ha
|
| + |
| // Weak pointer to browser to which intents will be dispatched. |
| Browser* browser_; |
| content::WebContentsDelegate* delegate_; |
| + DeviceIdToInfoMap device_id_map_; |
| DISALLOW_COPY_AND_ASSIGN(DeviceAttachedIntentSource); |
| }; |