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..66a5cce94ba96048ca37c6d02527185bcd4f9a01 |
--- /dev/null |
+++ b/components/rappor/rappor_utils.h |
@@ -0,0 +1,23 @@ |
+// 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); |
+ |
+} // namespace rappor |
+ |
+#endif // COMPONENTS_RAPPOR_RAPPOR_UTILS_H_ |