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_SERVICE_UTILS_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_
8 #include "chrome/browser/ui/browser.h"
9 #include "components/sessions/session_types.h"
11 // The maximum number of navigation entries in each direction we'll persist for
13 extern const int gMaxPersistNavigationCount
;
15 // Convert back/forward between the Browser and SessionService window types.
16 sessions::SessionWindow::WindowType
WindowTypeForBrowserType(
18 Browser::Type
BrowserTypeForWindowType(
19 sessions::SessionWindow::WindowType type
);
21 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_