Index: chrome/browser/history/history_utils.h |
diff --git a/chrome/browser/history/history_utils.h b/chrome/browser/history/history_utils.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d5b80f30aef6cd7d87c9a8981778e5da4ff260b0 |
--- /dev/null |
+++ b/chrome/browser/history/history_utils.h |
@@ -0,0 +1,14 @@ |
+// 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_HISTORY_HISTORY_UTILS_H_ |
+#define CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ |
+ |
+class GURL; |
+ |
+// Returns true if this looks like the type of URL that should be added to the |
+// history. This filters out URLs such a JavaScript. |
+bool CanAddURLToHistory(const GURL& url); |
+ |
+#endif // CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_ |