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

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

Issue 3133022: sync: take two for: "Added classes to enable session sync... (Closed)
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/browser/sessions/session_types.h ('k') | chrome/browser/sessions/tab_restore_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/session_types.h" 5 #include "chrome/browser/sessions/session_types.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/browser/browser.h" 8 #include "chrome/browser/browser.h"
9 #include "chrome/browser/tab_contents/navigation_controller.h" 9 #include "chrome/browser/tab_contents/navigation_controller.h"
10 #include "chrome/browser/tab_contents/navigation_entry.h" 10 #include "chrome/browser/tab_contents/navigation_entry.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 SessionWindow::SessionWindow() 44 SessionWindow::SessionWindow()
45 : selected_tab_index(-1), 45 : selected_tab_index(-1),
46 type(Browser::TYPE_NORMAL), 46 type(Browser::TYPE_NORMAL),
47 is_constrained(true), 47 is_constrained(true),
48 is_maximized(false) { 48 is_maximized(false) {
49 } 49 }
50 50
51 SessionWindow::~SessionWindow() { 51 SessionWindow::~SessionWindow() {
52 STLDeleteElements(&tabs); 52 STLDeleteElements(&tabs);
53 } 53 }
54
55 // ForeignSession --------------------------------------------------------------
56
57 ForeignSession::ForeignSession() : foreign_tession_tag("invalid") {
58 }
59
60 ForeignSession::~ForeignSession() {
61 STLDeleteElements(&windows);
62 }
63
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_types.h ('k') | chrome/browser/sessions/tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698