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

Side by Side Diff: chrome/browser/sync/glue/synced_session.cc

Issue 7966020: [Sync] Fix Session's handling of windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 2 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/sync/glue/synced_session.h" 5 #include "chrome/browser/sync/glue/synced_session.h"
6 6
7 #include "base/stl_util.h" 7 #include "base/stl_util.h"
8 #include "chrome/browser/sessions/session_types.h" 8 #include "chrome/browser/sessions/session_types.h"
9 9
10 namespace browser_sync { 10 namespace browser_sync {
11 11
12 SyncedSession::SyncedSession() : session_tag("invalid"), 12 SyncedSession::SyncedSession() : session_tag("invalid"),
13 device_type(TYPE_UNSET) { 13 device_type(TYPE_UNSET) {
14 } 14 }
15 15
16 SyncedSession::~SyncedSession() { 16 SyncedSession::~SyncedSession() {
17 STLDeleteElements(&windows); 17 STLDeleteContainerPairSecondPointers(windows.begin(), windows.end());
18 } 18 }
19 19
20 } // namespace browser_sync 20 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698