Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Side by Side Diff: chrome/browser/sessions/session_service_utils.h

Issue 1319473014: Introduce TabRestoreServiceClient and //chrome implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "components/sessions/session_types.h" 9 #include "components/sessions/session_types.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
15 // Convert back/forward between the Browser and SessionService window types. 11 // Convert back/forward between the Browser and SessionService window types.
16 sessions::SessionWindow::WindowType WindowTypeForBrowserType( 12 sessions::SessionWindow::WindowType WindowTypeForBrowserType(
17 Browser::Type type); 13 Browser::Type type);
18 Browser::Type BrowserTypeForWindowType( 14 Browser::Type BrowserTypeForWindowType(
19 sessions::SessionWindow::WindowType type); 15 sessions::SessionWindow::WindowType type);
20 16
21 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_ 17 #endif // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_service.cc ('k') | chrome/browser/sessions/session_service_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698