Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / sessions / session_common_utils.h
blobe5eea2385830316023d1e62681453369d3fe66bd
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.
5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_
8 class GURL;
10 // Returns whether sessions code should track a URL for restoring in the context
11 // of //chrome. In particular, blacklists chrome://quit and chrome://restart to
12 // avoid quit or restart loops.
13 bool ShouldTrackURLForRestore(const GURL& url);
15 #endif // CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_