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

Unified Diff: components/rappor/rappor_utils.h

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 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/rappor/rappor_utils.h
diff --git a/components/rappor/rappor_utils.h b/components/rappor/rappor_utils.h
new file mode 100644
index 0000000000000000000000000000000000000000..891d068ccfa61e02858b5765b53013d7b2aea2f4
--- /dev/null
+++ b/components/rappor/rappor_utils.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2013 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.
+
+// RapporRecorder holds all Rappors collected in the system, and methods for
+// retrieving the recorded data.
+
+#ifndef COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
+#define COMPONENTS_RAPPOR_RAPPOR_UTILS_H_
+
+#include <string>
+#include <vector>
+
+#include "url/gurl.h"
+
+namespace rappor {
+
+// Get a list of URL subcomponents appropriate for sampling.
+void GetUrlParts(const GURL& url, std::vector<std::string>* strs);
+}
Alexei Svitkine (slow) 2013/12/19 19:47:02 Nit: } // namespace rappor And add a newline bef
Steven Holte 2013/12/20 03:03:55 Done.
+
+#endif // COMPONENTS_RAPPOR_RAPPOR_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698