summaryrefslogtreecommitdiffstats
path: root/chrome/browser/android/history_report/usage_report_util.h
blob: b23621849946e948e648d604ea9a017f956f5126 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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_