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

Unified Diff: components/navigation_metrics/navigation_metrics.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/metrics/metrics_log.cc ('k') | components/ntp_snippets_strings.grdp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/navigation_metrics/navigation_metrics.cc
diff --git a/components/navigation_metrics/navigation_metrics.cc b/components/navigation_metrics/navigation_metrics.cc
index e4c8ed5374942953c8a17cbc9a445471c60affc6..8958e6d69fa981aa501c0622ab8d8281ee5be94a 100644
--- a/components/navigation_metrics/navigation_metrics.cc
+++ b/components/navigation_metrics/navigation_metrics.cc
@@ -5,7 +5,7 @@
#include "components/navigation_metrics/navigation_metrics.h"
#include "base/macros.h"
-#include "base/metrics/histogram.h"
+#include "base/metrics/histogram_macros.h"
#include "url/gurl.h"
namespace {
@@ -23,21 +23,23 @@ enum Scheme {
SCHEME_ABOUT,
SCHEME_CHROME,
SCHEME_BLOB,
+ SCHEME_FILESYSTEM,
SCHEME_MAX,
};
const char* const kSchemeNames[] = {
- "unknown",
- url::kHttpScheme,
- url::kHttpsScheme,
- url::kFileScheme,
- url::kFtpScheme,
- url::kDataScheme,
- url::kJavaScriptScheme,
- url::kAboutScheme,
- "chrome",
- url::kBlobScheme,
- "max",
+ "unknown",
+ url::kHttpScheme,
+ url::kHttpsScheme,
+ url::kFileScheme,
+ url::kFtpScheme,
+ url::kDataScheme,
+ url::kJavaScriptScheme,
+ url::kAboutScheme,
+ "chrome",
+ url::kBlobScheme,
+ url::kFileSystemScheme,
+ "max",
};
static_assert(arraysize(kSchemeNames) == SCHEME_MAX + 1,
« no previous file with comments | « components/metrics/metrics_log.cc ('k') | components/ntp_snippets_strings.grdp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698