| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ | 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ | 
| 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ | 6 #define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ | 
| 7 | 7 | 
| 8 #include "chrome/browser/sessions/session_types.h" | 8 #include "chrome/browser/sessions/session_types.h" | 
| 9 #include "chrome/browser/ui/browser.h" | 9 #include "chrome/browser/ui/browser.h" | 
| 10 | 10 | 
|  | 11 // The maximum number of navigation entries in each direction we'll persist for | 
|  | 12 // chrome/Browser. | 
|  | 13 extern const int gMaxPersistNavigationCount; | 
|  | 14 | 
| 11 // Convert back/forward between the Browser and SessionService window types. | 15 // Convert back/forward between the Browser and SessionService window types. | 
| 12 SessionWindow::WindowType WindowTypeForBrowserType(Browser::Type type); | 16 SessionWindow::WindowType WindowTypeForBrowserType(Browser::Type type); | 
| 13 Browser::Type BrowserTypeForWindowType(SessionWindow::WindowType type); | 17 Browser::Type BrowserTypeForWindowType(SessionWindow::WindowType type); | 
| 14 | 18 | 
| 15 #endif  // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ | 19 #endif  // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ | 
| OLD | NEW | 
|---|