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

Side by Side Diff: chrome/browser/sessions/tab_restore_service.cc

Issue 1343833002: Abstract content::SessionStorageNamespace from core TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@extension_tab_helper
Patch Set: Hopefully fix Windows 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 (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"
8
9 // TimeFactory----------------------------------------------------------------- 7 // TimeFactory-----------------------------------------------------------------
10 8
11 TabRestoreService::TimeFactory::~TimeFactory() {} 9 TabRestoreService::TimeFactory::~TimeFactory() {}
12 10
13 // Entry ---------------------------------------------------------------------- 11 // Entry ----------------------------------------------------------------------
14 12
15 // ID of the next Entry. 13 // ID of the next Entry.
16 static SessionID::id_type next_entry_id = 1; 14 static SessionID::id_type next_entry_id = 1;
17 15
18 TabRestoreService::Entry::Entry() 16 TabRestoreService::Entry::Entry()
(...skipping 26 matching lines...) Expand all
45 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { 43 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) {
46 } 44 }
47 45
48 TabRestoreService::Window::~Window() { 46 TabRestoreService::Window::~Window() {
49 } 47 }
50 48
51 // TabRestoreService ---------------------------------------------------------- 49 // TabRestoreService ----------------------------------------------------------
52 50
53 TabRestoreService::~TabRestoreService() { 51 TabRestoreService::~TabRestoreService() {
54 } 52 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698