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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/device_event_router.h

Issue 490643005: Files.app: Start to use DeviceEventRouter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 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 | « no previous file | chrome/browser/chromeos/extensions/file_manager/device_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/device_event_router.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/device_event_router.h b/chrome/browser/chromeos/extensions/file_manager/device_event_router.h
index 175273324a479470ba54a64e319bd0ea9b799fa2..9a149cdb1b5f48330aee1144239bc10f8e498fd7 100644
--- a/chrome/browser/chromeos/extensions/file_manager/device_event_router.h
+++ b/chrome/browser/chromeos/extensions/file_manager/device_event_router.h
@@ -57,13 +57,13 @@ class DeviceEventRouter : public VolumeManagerObserver,
virtual void OnFormatCompleted(const std::string& device_path,
bool success) OVERRIDE;
- // TODO(hirono): Remove the method from VolumeManagerObserver.
- virtual void OnHardUnplugged(const std::string& device_path) OVERRIDE;
-
// PowerManagerClient::Observer overrides.
virtual void SuspendImminent() OVERRIDE;
virtual void SuspendDone(const base::TimeDelta& sleep_duration) OVERRIDE;
+ bool is_resuming() const { return is_resuming_; }
+ bool is_starting_up() const { return is_starting_up_; }
+
protected:
// Handles a device event containing |type| and |device_path|.
virtual void OnDeviceEvent(
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/device_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698