Add ICU message format support
[chromium-blink-merge.git] / chrome / browser / sessions / session_service_utils.h
blob14c60fd86761b8f582bea97199c21d55e09d542b
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
12 // chrome/Browser.
13 extern const int gMaxPersistNavigationCount;
15 // Convert back/forward between the Browser and SessionService window types.
16 sessions::SessionWindow::WindowType WindowTypeForBrowserType(
17 Browser::Type type);
18 Browser::Type BrowserTypeForWindowType(
19 sessions::SessionWindow::WindowType type);
21 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_