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

Side by Side Diff: chrome/browser/devtools/device/self_device_provider.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_
7 7
8 #include "chrome/browser/devtools/device/android_device_manager.h" 8 #include "chrome/browser/devtools/device/android_device_manager.h"
9 9
10 // Instantiate this class only in a test and/or when DEBUG_DEVTOOLS is defined. 10 // Instantiate this class only in a test and/or when DEBUG_DEVTOOLS is defined.
11 class SelfAsDeviceProvider : public AndroidDeviceManager::DeviceProvider { 11 class SelfAsDeviceProvider : public AndroidDeviceManager::DeviceProvider {
12 public: 12 public:
13 explicit SelfAsDeviceProvider(int port); 13 explicit SelfAsDeviceProvider(int port);
14 14
15 virtual void QueryDevices(const SerialsCallback& callback) OVERRIDE; 15 virtual void QueryDevices(const SerialsCallback& callback) override;
16 16
17 virtual void QueryDeviceInfo(const std::string& serial, 17 virtual void QueryDeviceInfo(const std::string& serial,
18 const DeviceInfoCallback& callback) OVERRIDE; 18 const DeviceInfoCallback& callback) override;
19 19
20 virtual void OpenSocket(const std::string& serial, 20 virtual void OpenSocket(const std::string& serial,
21 const std::string& socket_name, 21 const std::string& socket_name,
22 const SocketCallback& callback) OVERRIDE; 22 const SocketCallback& callback) override;
23 23
24 private: 24 private:
25 virtual ~SelfAsDeviceProvider(){} 25 virtual ~SelfAsDeviceProvider(){}
26 26
27 int port_; 27 int port_;
28 }; 28 };
29 29
30 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_ 30 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_SELF_DEVICE_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698