summaryrefslogtreecommitdiffstats
path: root/ios/chrome/browser/history/history_utils.h
blob: b55a53bcf07b8beb8fbc466709679ceb43dbbf9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 IOS_CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_
#define IOS_CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_

class GURL;

namespace ios {

// 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);

}  // namespace ios

#endif  // IOS_CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_