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

Unified Diff: components/ukm/ukm_pref_names.cc

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: Proto and client_id Created 4 years 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
Index: components/ukm/ukm_pref_names.cc
diff --git a/components/ukm/ukm_pref_names.cc b/components/ukm/ukm_pref_names.cc
new file mode 100644
index 0000000000000000000000000000000000000000..f414cad04ad110cbef695c3cee341c5371cc8365
--- /dev/null
+++ b/components/ukm/ukm_pref_names.cc
@@ -0,0 +1,17 @@
+// Copyright 2014 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.
+
+#include "components/ukm/ukm_pref_names.h"
+
+namespace ukm {
+namespace prefs {
+
+// A random value unique for each chrome install.
+const char kUkmClientId[] = "ukm.client_id";
+
+// Preference which stores serialized UKM logs to be uploaded.
+const char kUkmPersistedLogs[] = "ukm.persisted_logs";
+
+} // namespace prefs
+} // namespace ukm

Powered by Google App Engine
This is Rietveld 408576698