1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORT_UTIL_H_
6 #define CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORT_UTIL_H_
10 #include "ui/base/page_transition_types.h"
14 namespace history_report
{
18 namespace usage_report_util
{
20 std::string
ReportToKey(const history_report::UsageReport
& report
);
22 bool IsTypedVisit(ui::PageTransition visit_transition
);
24 bool ShouldIgnoreUrl(const GURL
& url
);
26 } // namespace usage_report_util
27 } // namespace history_report
29 #endif // CHROME_BROWSER_ANDROID_HISTORY_REPORT_USAGE_REPORT_UTIL_H_