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

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

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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_DIAGNOSTICS_DIAGNOSTICS_API_H_ 5 #ifndef EXTENSIONS_BROWSER_API_DIAGNOSTICS_DIAGNOSTICS_API_H_
6 #define EXTENSIONS_BROWSER_API_DIAGNOSTICS_DIAGNOSTICS_API_H_ 6 #define EXTENSIONS_BROWSER_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 29 matching lines...) Expand all
40 // This methods will be implemented differently on different platforms. 40 // This methods will be implemented differently on different platforms.
41 void AsyncWorkStart() override; 41 void AsyncWorkStart() override;
42 bool Respond() override; 42 bool Respond() override;
43 43
44 private: 44 private:
45 void SendPingPacket(); 45 void SendPingPacket();
46 void OnCompleted(SendPacketResultCode result_code, 46 void OnCompleted(SendPacketResultCode result_code,
47 const std::string& ip, 47 const std::string& ip,
48 double latency); 48 double latency);
49 49
50 scoped_ptr<core_api::diagnostics::SendPacket::Params> parameters_; 50 scoped_ptr<api::diagnostics::SendPacket::Params> parameters_;
51 }; 51 };
52 52
53 } // namespace extensions 53 } // namespace extensions
54 54
55 #endif // EXTENSIONS_BROWSER_API_DIAGNOSTICS_DIAGNOSTICS_API_H_ 55 #endif // EXTENSIONS_BROWSER_API_DIAGNOSTICS_DIAGNOSTICS_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698