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

Side by Side Diff: chrome/browser/history/history_utils.h

Issue 971423002: Abstract code filtering URLs added to the history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@keyed-service
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_
7
8 class GURL;
9
10 // Returns true if this looks like the type of URL that should be added to the
11 // history. This filters out URLs such a JavaScript.
12 bool CanAddURLToHistory(const GURL& url);
13
14 #endif // CHROME_BROWSER_HISTORY_HISTORY_UTILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698