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

Unified Diff: components/ukm/debug_page/debug_page.cc

Issue 2893943004: Refactor UKM interface for mojo-ification (Closed)
Patch Set: Fixed contextualsearch Created 3 years, 7 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 | « components/ukm/DEPS ('k') | components/ukm/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/ukm/debug_page/debug_page.cc
diff --git a/components/ukm/debug_page/debug_page.cc b/components/ukm/debug_page/debug_page.cc
index c3fb9e8d881afbac2fc178ae8714cfffc74c931a..72df62fea95a5f8fe73044a68bc3dbac2112c763 100644
--- a/components/ukm/debug_page/debug_page.cc
+++ b/components/ukm/debug_page/debug_page.cc
@@ -8,7 +8,6 @@
#include "base/memory/ref_counted_memory.h"
#include "base/strings/stringprintf.h"
-#include "components/ukm/ukm_entry.h"
#include "components/ukm/ukm_service.h"
#include "components/ukm/ukm_source.h"
#include "url/gurl.h"
@@ -57,15 +56,15 @@ void DebugPage::StartDataRequest(
data.append("<h2>Sources</h2>");
for (const auto& kv : ukm_service->sources_) {
const auto* src = kv.second.get();
- data.append(base::StringPrintf("<p>Id:%d Url:%s</p>", src->id(),
+ data.append(base::StringPrintf("<p>Id:%" PRId64 " Url:%s</p>", src->id(),
src->url().spec().c_str()));
}
data.append("<h2>Entries</h2>");
for (const auto& v : ukm_service->entries_) {
const auto* entry = v.get();
- data.append(base::StringPrintf("<h3>Id:%d Hash:%" PRIu64 "</h3>",
- entry->source_id(), entry->event_hash()));
+ data.append(base::StringPrintf("<h3>Id:%" PRId64 " Hash:%" PRIu64 "</h3>",
+ entry->source_id, entry->event_hash));
}
}
« no previous file with comments | « components/ukm/DEPS ('k') | components/ukm/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698