Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2026)

Unified Diff: chrome/browser/android/history_report/usage_report_util.h

Issue 1141283003: Upstream oodles of Chrome for Android code into Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final patch? Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698