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

Unified Diff: chrome/browser/intents/device_attached_intent_source.h

Issue 10873072: Rename SystemMonitor's MediaDevice calls to RemovableStorage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
« no previous file with comments | « base/test/mock_devices_changed_observer.h ('k') | chrome/browser/intents/device_attached_intent_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/intents/device_attached_intent_source.h
===================================================================
--- chrome/browser/intents/device_attached_intent_source.h (revision 153336)
+++ chrome/browser/intents/device_attached_intent_source.h (working copy)
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_INTENTS_DEVICE_ATTACHED_INTENT_SOURCE_H_
#define CHROME_BROWSER_INTENTS_DEVICE_ATTACHED_INTENT_SOURCE_H_
+#include <map>
+#include <string>
+
#include "base/memory/weak_ptr.h"
#include "base/system_monitor/system_monitor.h"
@@ -30,19 +33,19 @@
virtual ~DeviceAttachedIntentSource();
// base::SystemMonitor::DevicesChangedObserver implementation.
- virtual void OnMediaDeviceAttached(
+ virtual void OnRemovableStorageAttached(
const std::string& id,
const string16& name,
const FilePath::StringType& location) OVERRIDE;
- virtual void OnMediaDeviceDetached(const std::string& id) OVERRIDE;
+ virtual void OnRemovableStorageDetached(const std::string& id) OVERRIDE;
// Dispatches web intents for the attached media device specified by
// |device_info|.
void DispatchIntentsForService(
- const base::SystemMonitor::MediaDeviceInfo& device_info);
+ const base::SystemMonitor::RemovableStorageInfo& device_info);
private:
- typedef std::map<std::string, base::SystemMonitor::MediaDeviceInfo>
+ typedef std::map<std::string, base::SystemMonitor::RemovableStorageInfo>
DeviceIdToInfoMap;
// Weak pointer to browser to which intents will be dispatched.
« no previous file with comments | « base/test/mock_devices_changed_observer.h ('k') | chrome/browser/intents/device_attached_intent_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698