Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / file_manager / volume_manager_unittest.cc
index 3e0748b..5013130 100644 (file)
@@ -61,7 +61,7 @@ class LoggingObserver : public VolumeManagerObserver {
 
   // VolumeManagerObserver overrides.
   virtual void OnDiskAdded(const chromeos::disks::DiskMountManager::Disk& disk,
-                           bool mounting) OVERRIDE {
+                           bool mounting) override {
     Event event;
     event.type = Event::DISK_ADDED;
     event.device_path = disk.device_path();  // Keep only device_path.
@@ -70,21 +70,21 @@ class LoggingObserver : public VolumeManagerObserver {
   }
 
   virtual void OnDiskRemoved(
-      const chromeos::disks::DiskMountManager::Disk& disk) OVERRIDE {
+      const chromeos::disks::DiskMountManager::Disk& disk) override {
     Event event;
     event.type = Event::DISK_REMOVED;
     event.device_path = disk.device_path();  // Keep only device_path.
     events_.push_back(event);
   }
 
-  virtual void OnDeviceAdded(const std::string& device_path) OVERRIDE {
+  virtual void OnDeviceAdded(const std::string& device_path) override {
     Event event;
     event.type = Event::DEVICE_ADDED;
     event.device_path = device_path;
     events_.push_back(event);
   }
 
-  virtual void OnDeviceRemoved(const std::string& device_path) OVERRIDE {
+  virtual void OnDeviceRemoved(const std::string& device_path) override {
     Event event;
     event.type = Event::DEVICE_REMOVED;
     event.device_path = device_path;
@@ -92,7 +92,7 @@ class LoggingObserver : public VolumeManagerObserver {
   }
 
   virtual void OnVolumeMounted(chromeos::MountError error_code,
-                               const VolumeInfo& volume_info) OVERRIDE {
+                               const VolumeInfo& volume_info) override {
     Event event;
     event.type = Event::VOLUME_MOUNTED;
     event.device_path = volume_info.source_path.AsUTF8Unsafe();
@@ -101,7 +101,7 @@ class LoggingObserver : public VolumeManagerObserver {
   }
 
   virtual void OnVolumeUnmounted(chromeos::MountError error_code,
-                                 const VolumeInfo& volume_info) OVERRIDE {
+                                 const VolumeInfo& volume_info) override {
     Event event;
     event.type = Event::VOLUME_UNMOUNTED;
     event.device_path = volume_info.source_path.AsUTF8Unsafe();
@@ -110,7 +110,7 @@ class LoggingObserver : public VolumeManagerObserver {
   }
 
   virtual void OnFormatStarted(
-      const std::string& device_path, bool success) OVERRIDE {
+      const std::string& device_path, bool success) override {
     Event event;
     event.type = Event::FORMAT_STARTED;
     event.device_path = device_path;
@@ -119,7 +119,7 @@ class LoggingObserver : public VolumeManagerObserver {
   }
 
   virtual void OnFormatCompleted(
-      const std::string& device_path, bool success) OVERRIDE {
+      const std::string& device_path, bool success) override {
     Event event;
     event.type = Event::FORMAT_COMPLETED;
     event.device_path = device_path;
@@ -170,7 +170,7 @@ class VolumeManagerTest : public testing::Test {
     scoped_ptr<VolumeManager> volume_manager_;
   };
 
-  virtual void SetUp() OVERRIDE {
+  virtual void SetUp() override {
     power_manager_client_.reset(new chromeos::FakePowerManagerClient);
     disk_mount_manager_.reset(new FakeDiskMountManager);
     main_profile_.reset(new ProfileEnvironment(power_manager_client_.get(),