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

Side by Side Diff: extensions/browser/api/system_network/system_network_api.h

Issue 622343002: replace OVERRIDE and FINAL with override and final in extensions/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
6 #define EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_ 6 #define EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
7 7
8 #include "extensions/browser/extension_function.h" 8 #include "extensions/browser/extension_function.h"
9 #include "extensions/common/api/system_network.h" 9 #include "extensions/common/api/system_network.h"
10 #include "net/base/net_util.h" 10 #include "net/base/net_util.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 namespace core_api { 13 namespace core_api {
14 14
15 class SystemNetworkGetNetworkInterfacesFunction 15 class SystemNetworkGetNetworkInterfacesFunction
16 : public AsyncExtensionFunction { 16 : public AsyncExtensionFunction {
17 public: 17 public:
18 DECLARE_EXTENSION_FUNCTION("system.network.getNetworkInterfaces", 18 DECLARE_EXTENSION_FUNCTION("system.network.getNetworkInterfaces",
19 SYSTEM_NETWORK_GETNETWORKINTERFACES) 19 SYSTEM_NETWORK_GETNETWORKINTERFACES)
20 20
21 SystemNetworkGetNetworkInterfacesFunction(); 21 SystemNetworkGetNetworkInterfacesFunction();
22 22
23 protected: 23 protected:
24 virtual ~SystemNetworkGetNetworkInterfacesFunction(); 24 virtual ~SystemNetworkGetNetworkInterfacesFunction();
25 25
26 // AsyncApiFunction: 26 // AsyncApiFunction:
27 virtual bool RunAsync() OVERRIDE; 27 virtual bool RunAsync() override;
28 28
29 private: 29 private:
30 void GetListOnFileThread(); 30 void GetListOnFileThread();
31 void HandleGetListError(); 31 void HandleGetListError();
32 void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list); 32 void SendResponseOnUIThread(const net::NetworkInterfaceList& interface_list);
33 }; 33 };
34 34
35 } // namespace core_api 35 } // namespace core_api
36 } // namespace extensions 36 } // namespace extensions
37 37
38 #endif // EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_ 38 #endif // EXTENSIONS_BROWSER_API_SYSTEM_NETWORK_SYSTEM_NETWORK_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698