Chromium Code Reviews| Index: chrome/browser/sessions/session_restore_delegate.h |
| diff --git a/chrome/browser/sessions/session_restore_delegate.h b/chrome/browser/sessions/session_restore_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..82666cad6d3a5b3a380188657e0cf8dbca4de8bf |
| --- /dev/null |
| +++ b/chrome/browser/sessions/session_restore_delegate.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2015 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_RESTORE_DELEGATE_H_ |
| +#define CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ |
| + |
| +#include <vector> |
| + |
| +#include "base/time/time.h" |
| + |
| +namespace content { |
| +class WebContents; |
| +} |
| + |
| +// SessionRestoreDelegate is responsible for creating the tab loader and the |
| +// stats tracker. |
| +class SessionRestoreDelegate { |
| + public: |
| + struct RestoredTab { |
| + content::WebContents* contents; |
| + bool is_active; |
| + }; |
| + |
| + static void RestoreTabs(const std::vector<RestoredTab>& tabs, |
| + const base::TimeTicks& restore_started); |
| +}; |
|
sky
2015/04/01 22:41:46
private:
DISALLOW_IMPLICIT_CONSTRUCTORS.
Georges Khalil
2015/04/01 23:30:21
Done.
|
| + |
| +#endif // CHROME_BROWSER_SESSIONS_SESSION_RESTORE_DELEGATE_H_ |