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

Side by Side Diff: chrome/browser/chromeos/imageburner/burn_device_handler.h

Issue 623293003: replace OVERRIDE and FINAL with override and final in chrome/browser/chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: run git cl format on echo_dialog_view.h Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_DEVICE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_DEVICE_HANDLER_H_
6 #define CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_DEVICE_HANDLER_H_ 6 #define CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_DEVICE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 28 matching lines...) Expand all
39 // (rather than ObserverList). 39 // (rather than ObserverList).
40 void SetCallbacks(const DiskCallback& add_callback, 40 void SetCallbacks(const DiskCallback& add_callback,
41 const DiskCallback& remove_callback); 41 const DiskCallback& remove_callback);
42 42
43 // Returns devices on which we can burn recovery image. 43 // Returns devices on which we can burn recovery image.
44 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices(); 44 std::vector<disks::DiskMountManager::Disk> GetBurnableDevices();
45 45
46 // DiskMountManager::Observer overrides. 46 // DiskMountManager::Observer overrides.
47 virtual void OnDiskEvent( 47 virtual void OnDiskEvent(
48 disks::DiskMountManager::DiskEvent event, 48 disks::DiskMountManager::DiskEvent event,
49 const disks::DiskMountManager::Disk* disk) OVERRIDE; 49 const disks::DiskMountManager::Disk* disk) override;
50 virtual void OnDeviceEvent( 50 virtual void OnDeviceEvent(
51 disks::DiskMountManager::DeviceEvent event, 51 disks::DiskMountManager::DeviceEvent event,
52 const std::string& device_path) OVERRIDE; 52 const std::string& device_path) override;
53 virtual void OnMountEvent( 53 virtual void OnMountEvent(
54 disks::DiskMountManager::MountEvent event, 54 disks::DiskMountManager::MountEvent event,
55 MountError error_code, 55 MountError error_code,
56 const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE; 56 const disks::DiskMountManager::MountPointInfo& mount_info) override;
57 virtual void OnFormatEvent( 57 virtual void OnFormatEvent(
58 disks::DiskMountManager::FormatEvent event, 58 disks::DiskMountManager::FormatEvent event,
59 FormatError error_code, 59 FormatError error_code,
60 const std::string& device_path) OVERRIDE; 60 const std::string& device_path) override;
61 61
62 private: 62 private:
63 disks::DiskMountManager* disk_mount_manager_; // Not owned by this class. 63 disks::DiskMountManager* disk_mount_manager_; // Not owned by this class.
64 DiskCallback add_callback_; 64 DiskCallback add_callback_;
65 DiskCallback remove_callback_; 65 DiskCallback remove_callback_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(BurnDeviceHandler); 67 DISALLOW_COPY_AND_ASSIGN(BurnDeviceHandler);
68 }; 68 };
69 69
70 } // namespace imageburner 70 } // namespace imageburner
71 } // namespace chromeos 71 } // namespace chromeos
72 72
73 #endif // CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_DEVICE_HANDLER_H_ 73 #endif // CHROME_BROWSER_CHROMEOS_IMAGEBURNER_BURN_DEVICE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698