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

Side by Side Diff: chrome/browser/extensions/api/diagnostics/diagnostics_api.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/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 CHROME_BROWSER_EXTENSIONS_API_DIAGNOSTICS_DIAGNOSTICS_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DIAGNOSTICS_DIAGNOSTICS_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DIAGNOSTICS_DIAGNOSTICS_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DIAGNOSTICS_DIAGNOSTICS_API_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 19 matching lines...) Expand all
30 30
31 DECLARE_EXTENSION_FUNCTION("diagnostics.sendPacket", 31 DECLARE_EXTENSION_FUNCTION("diagnostics.sendPacket",
32 DIAGNOSTICS_SENDPACKET); 32 DIAGNOSTICS_SENDPACKET);
33 33
34 DiagnosticsSendPacketFunction(); 34 DiagnosticsSendPacketFunction();
35 35
36 protected: 36 protected:
37 virtual ~DiagnosticsSendPacketFunction(); 37 virtual ~DiagnosticsSendPacketFunction();
38 38
39 // AsyncApiFunction: 39 // AsyncApiFunction:
40 virtual bool Prepare() OVERRIDE; 40 virtual bool Prepare() override;
41 // This methods will be implemented differently on different platforms. 41 // This methods will be implemented differently on different platforms.
42 virtual void AsyncWorkStart() OVERRIDE; 42 virtual void AsyncWorkStart() override;
43 virtual bool Respond() OVERRIDE; 43 virtual bool Respond() override;
44 44
45 private: 45 private:
46 void SendPingPacket(); 46 void SendPingPacket();
47 void OnCompleted(SendPacketResultCode result_code, 47 void OnCompleted(SendPacketResultCode result_code,
48 const std::string& ip, 48 const std::string& ip,
49 double latency); 49 double latency);
50 50
51 scoped_ptr<extensions::api::diagnostics::SendPacket::Params> 51 scoped_ptr<extensions::api::diagnostics::SendPacket::Params>
52 parameters_; 52 parameters_;
53 }; 53 };
54 54
55 } // namespace extensions 55 } // namespace extensions
56 56
57 #endif // CHROME_BROWSER_EXTENSIONS_API_DIAGNOSTICS_DIAGNOSTICS_API_H_ 57 #endif // CHROME_BROWSER_EXTENSIONS_API_DIAGNOSTICS_DIAGNOSTICS_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/device_permissions_manager_unittest.cc ('k') | chrome/browser/extensions/api/dial/dial_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698