summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions/session_service_utils.h
blob: 60e5afdfdb5d2f9d6d13811a97ea63954fe2ca34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2014 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.

#ifndef CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_
#define CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_

#include "chrome/browser/ui/browser.h"
#include "components/sessions/core/session_types.h"

// Convert back/forward between the Browser and SessionService window types.
sessions::SessionWindow::WindowType WindowTypeForBrowserType(
    Browser::Type type);
Browser::Type BrowserTypeForWindowType(
    sessions::SessionWindow::WindowType type);

#endif  // CHROME_BROWSER_SESSIONS_SESSION_SERVICE_UTILS_H_