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

Side by Side Diff: components/sessions/core/tab_restore_service.cc

Issue 1350653004: [sessions] Properly namespace recently-componentized TabRestore code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Mac 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 "components/sessions/core/tab_restore_service.h" 5 #include "components/sessions/core/tab_restore_service.h"
6 6
7 namespace sessions {
8
7 // TimeFactory----------------------------------------------------------------- 9 // TimeFactory-----------------------------------------------------------------
8 10
9 TabRestoreService::TimeFactory::~TimeFactory() {} 11 TabRestoreService::TimeFactory::~TimeFactory() {}
10 12
11 // Entry ---------------------------------------------------------------------- 13 // Entry ----------------------------------------------------------------------
12 14
13 // ID of the next Entry. 15 // ID of the next Entry.
14 static SessionID::id_type next_entry_id = 1; 16 static SessionID::id_type next_entry_id = 1;
15 17
16 TabRestoreService::Entry::Entry() 18 TabRestoreService::Entry::Entry()
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) { 74 TabRestoreService::Window::Window() : Entry(WINDOW), selected_tab_index(-1) {
73 } 75 }
74 76
75 TabRestoreService::Window::~Window() { 77 TabRestoreService::Window::~Window() {
76 } 78 }
77 79
78 // TabRestoreService ---------------------------------------------------------- 80 // TabRestoreService ----------------------------------------------------------
79 81
80 TabRestoreService::~TabRestoreService() { 82 TabRestoreService::~TabRestoreService() {
81 } 83 }
84
85 } // namespace sessions
OLDNEW
« no previous file with comments | « components/sessions/core/tab_restore_service.h ('k') | components/sessions/core/tab_restore_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698