OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "chrome/browser/sessions/tab_restore_service.h" | 5 #include "chrome/browser/sessions/tab_restore_service.h" |
6 | 6 |
7 #include "content/public/browser/session_storage_namespace.h" | 7 #include "content/public/browser/session_storage_namespace.h" |
8 | 8 |
9 // TimeFactory----------------------------------------------------------------- | 9 // TimeFactory----------------------------------------------------------------- |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 TabRestoreService::Entry::~Entry() {} | 28 TabRestoreService::Entry::~Entry() {} |
29 | 29 |
30 // Tab ------------------------------------------------------------------------ | 30 // Tab ------------------------------------------------------------------------ |
31 | 31 |
32 TabRestoreService::Tab::Tab() | 32 TabRestoreService::Tab::Tab() |
33 : Entry(TAB), | 33 : Entry(TAB), |
34 current_navigation_index(-1), | 34 current_navigation_index(-1), |
35 browser_id(0), | 35 browser_id(0), |
36 tabstrip_index(-1), | 36 tabstrip_index(-1), |
37 pinned(false) { | 37 pinned(false), |
38 } | 38 sync_session_id(-1) {} |
39 | 39 |
40 TabRestoreService::Tab::~Tab() { | 40 TabRestoreService::Tab::~Tab() { |
41 } | 41 } |
42 | 42 |
43 // Window --------------------------------------------------------------------- | 43 // Window --------------------------------------------------------------------- |
44 | 44 |
45 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { | 45 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { |
46 } | 46 } |
47 | 47 |
48 TabRestoreService::Window::~Window() { | 48 TabRestoreService::Window::~Window() { |
49 } | 49 } |
50 | 50 |
51 // TabRestoreService ---------------------------------------------------------- | 51 // TabRestoreService ---------------------------------------------------------- |
52 | 52 |
53 TabRestoreService::~TabRestoreService() { | 53 TabRestoreService::~TabRestoreService() { |
54 } | 54 } |
OLD | NEW |