Index: chrome/browser/android/history_report/usage_report_util.h |
diff --git a/chrome/browser/android/history_report/usage_report_util.h b/chrome/browser/android/history_report/usage_report_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b23621849946e948e648d604ea9a017f956f5126 |
--- /dev/null |
+++ b/chrome/browser/android/history_report/usage_report_util.h |
@@ -0,0 +1,29 @@ |
+// Copyright 2015 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 CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORT_UTIL_H_ |
+#define CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORT_UTIL_H_ |
+ |
+#include<string> |
+ |
+#include "ui/base/page_transition_types.h" |
+ |
+class GURL; |
+ |
+namespace history_report { |
+ |
+class UsageReport; |
+ |
+namespace usage_report_util { |
+ |
+std::string ReportToKey(const history_report::UsageReport& report); |
+ |
+bool IsTypedVisit(ui::PageTransition visit_transition); |
+ |
+bool ShouldIgnoreUrl(const GURL& url); |
+ |
+} // namespace usage_report_util |
+} // namespace history_report |
+ |
+#endif // CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORT_UTIL_H_ |