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

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

Issue 7792102: Revert 99391 (broke CrOS unit_tests) - Set user-visible machine names and devices types for synce... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "content/browser/tab_contents/navigation_controller.h" 10 #include "content/browser/tab_contents/navigation_controller.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 SessionWindow::SessionWindow() 115 SessionWindow::SessionWindow()
116 : selected_tab_index(-1), 116 : selected_tab_index(-1),
117 type(Browser::TYPE_TABBED), 117 type(Browser::TYPE_TABBED),
118 is_constrained(true), 118 is_constrained(true),
119 show_state(ui::SHOW_STATE_DEFAULT) { 119 show_state(ui::SHOW_STATE_DEFAULT) {
120 } 120 }
121 121
122 SessionWindow::~SessionWindow() { 122 SessionWindow::~SessionWindow() {
123 STLDeleteElements(&tabs); 123 STLDeleteElements(&tabs);
124 } 124 }
125
126 // SyncedSession --------------------------------------------------------------
127
128 SyncedSession::SyncedSession() : session_tag("invalid") {
129 }
130
131 SyncedSession::~SyncedSession() {
132 STLDeleteElements(&windows);
133 }
134
OLDNEW
« no previous file with comments | « chrome/browser/sessions/session_types.h ('k') | chrome/browser/sync/glue/session_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698