Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / android / history_report / usage_report_util.h
blobb23621849946e948e648d604ea9a017f956f5126
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_
8 #include<string>
10 #include "ui/base/page_transition_types.h"
12 class GURL;
14 namespace history_report {
16 class UsageReport;
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_