OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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_SESSIONS_SESSION_COMMON_UTILS_H_ | |
6 #define CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_ | |
7 | |
8 class GURL; | |
9 | |
10 // Returns whether sessions code should track an entry in the context of | |
11 // //chrome. In particular, blacklists chrome://quit and chrome://restart to | |
12 // avoid quit or restart loops. | |
13 bool ShouldTrackEntry(const GURL& url); | |
sky
2015/09/10 18:03:51
This function name, and description, are a bit cry
blundell
2015/09/11 08:07:53
Thanks for pointing this out. I changed to ShouldT
| |
14 | |
15 #endif // CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_ | |
OLD | NEW |