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

Unified Diff: components/offline_pages/client_namespace_constants.h

Issue 2022283003: Record offline histograms with suffix via Histogram::FactoryGet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 4 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/offline_pages/BUILD.gn ('k') | components/offline_pages/client_namespace_constants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/client_namespace_constants.h
diff --git a/components/offline_pages/client_namespace_constants.h b/components/offline_pages/client_namespace_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..108e031516d6b6eee963f0cd7d2629f84fdfd809
--- /dev/null
+++ b/components/offline_pages/client_namespace_constants.h
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_OFFLINE_PAGES_CLIENT_NAMESPACE_CONSTANTS_H_
+#define COMPONENTS_OFFLINE_PAGES_CLIENT_NAMESPACE_CONSTANTS_H_
+
+#include "build/build_config.h"
+
+namespace offline_pages {
+
+// Any changes to these well-known namespaces should also be reflected in
+// OfflinePagesNamespace (histograms.xml) for consistency.
+extern const char kBookmarkNamespace[];
+extern const char kLastNNamespace[];
+
+// Currently used for fallbacks like tests.
+extern const char kDefaultNamespace[];
+
+} // namespace offline_pages
+
+#endif // COMPONENTS_OFFLINE_PAGES_CLIENT_NAMESPACE_CONSTANTS_H_
« no previous file with comments | « components/offline_pages/BUILD.gn ('k') | components/offline_pages/client_namespace_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698