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

Unified Diff: extensions/browser/api/diagnostics/diagnostics_api.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/browser/api/diagnostics/diagnostics_api.h ('k') | extensions/browser/api/dns/dns_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/diagnostics/diagnostics_api.cc
diff --git a/extensions/browser/api/diagnostics/diagnostics_api.cc b/extensions/browser/api/diagnostics/diagnostics_api.cc
index 684577ce6fdfb4223ab058e5e634ef3a9ee13a69..668daa8416a3c9a737d1f2c0d1e31d44725165c0 100644
--- a/extensions/browser/api/diagnostics/diagnostics_api.cc
+++ b/extensions/browser/api/diagnostics/diagnostics_api.cc
@@ -12,7 +12,7 @@ const char kErrorPingFailed[] = "Failed to send ping packet";
namespace extensions {
-namespace SendPacket = core_api::diagnostics::SendPacket;
+namespace SendPacket = api::diagnostics::SendPacket;
DiagnosticsSendPacketFunction::DiagnosticsSendPacketFunction() {
}
@@ -36,7 +36,7 @@ void DiagnosticsSendPacketFunction::OnCompleted(
double latency) {
switch (result_code) {
case SEND_PACKET_OK: {
- core_api::diagnostics::SendPacketResult result;
+ api::diagnostics::SendPacketResult result;
result.ip = ip;
result.latency = latency;
results_ = SendPacket::Results::Create(result);
« no previous file with comments | « extensions/browser/api/diagnostics/diagnostics_api.h ('k') | extensions/browser/api/dns/dns_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698