Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / sessions / session_restore_delegate.h
blob01896764f7e28f31162e7eb3a472ba616799a1f1
1 // Copyright 2015 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_RESTORE_DELEGATE_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_
8 #include <vector>
10 #include "base/time/time.h"
12 namespace content {
13 class WebContents;
16 // SessionRestoreDelegate is responsible for creating the tab loader and the
17 // stats tracker.
18 class SessionRestoreDelegate {
19 public:
20 struct RestoredTab {
21 content::WebContents* contents;
22 bool is_active;
25 static void RestoreTabs(const std::vector<RestoredTab>& tabs,
26 const base::TimeTicks& restore_started);
28 private:
29 DISALLOW_IMPLICIT_CONSTRUCTORS(SessionRestoreDelegate);
32 #endif // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_