diff options
Diffstat (limited to 'chrome/browser/sessions/session_restore.h')
-rw-r--r-- | chrome/browser/sessions/session_restore.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/sessions/session_restore.h b/chrome/browser/sessions/session_restore.h index eb44d9a..ba09694 100644 --- a/chrome/browser/sessions/session_restore.h +++ b/chrome/browser/sessions/session_restore.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 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. @@ -42,6 +42,9 @@ class SessionRestore { Profile* profile, const std::vector<GURL>& urls_to_open); + // Returns true if we're in the process of restoring. + static bool IsRestoring(); + // The max number of non-selected tabs SessionRestore loads when restoring // a session. A value of 0 indicates all tabs are loaded at once. static size_t num_tabs_to_load_; |