summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_common_utils.h
blob: e5eea2385830316023d1e62681453369d3fe66bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2014 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_SESSIONS_SESSION_COMMON_UTILS_H_
#define CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_

class GURL;

// Returns whether sessions code should track a URL for restoring in the context
// of //chrome. In particular, blacklists chrome://quit and chrome://restart to
// avoid quit or restart loops.
bool ShouldTrackURLForRestore(const GURL& url);

#endif  // CHROME_BROWSER_SESSIONS_SESSION_COMMON_UTILS_H_