BookmarkManager: Fix 'new folder text field size changes on clicking it' issue.
[chromium-blink-merge.git] / chrome / browser / sessions / session_common_utils.cc
blob75973b73afa83d823ab1c05efe8b9bea2e52b675
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 #include "chrome/browser/sessions/session_common_utils.h"
7 #include "chrome/common/url_constants.h"
8 #include "url/gurl.h"
10 bool ShouldTrackURLForRestore(const GURL& url) {
11 return url.is_valid() &&
12 !(url.SchemeIs(content::kChromeUIScheme) &&
13 (url.host() == chrome::kChromeUIQuitHost ||
14 url.host() == chrome::kChromeUIRestartHost));