OLD | NEW |
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 "base/logging.h" | 5 #include "base/logging.h" |
6 #include "base/stl_util.h" | 6 #include "base/stl_util.h" |
7 #include "base/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
8 #include "chrome/browser/sync/glue/synced_session_tracker.h" | 8 #include "chrome/browser/sync/glue/synced_session_tracker.h" |
9 | 9 |
10 namespace browser_sync { | 10 namespace browser_sync { |
11 | 11 |
12 SyncedSessionTracker::SyncedSessionTracker() { | 12 SyncedSessionTracker::SyncedSessionTracker() { |
13 } | 13 } |
14 | 14 |
15 SyncedSessionTracker::~SyncedSessionTracker() { | 15 SyncedSessionTracker::~SyncedSessionTracker() { |
16 Clear(); | 16 Clear(); |
17 } | 17 } |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 301 |
302 // Get rid of our Window/Tab maps (does not delete the actual Window/Tabs | 302 // Get rid of our Window/Tab maps (does not delete the actual Window/Tabs |
303 // themselves; they should have all been deleted above). | 303 // themselves; they should have all been deleted above). |
304 synced_window_map_.clear(); | 304 synced_window_map_.clear(); |
305 synced_tab_map_.clear(); | 305 synced_tab_map_.clear(); |
306 | 306 |
307 local_session_tag_.clear(); | 307 local_session_tag_.clear(); |
308 } | 308 } |
309 | 309 |
310 } // namespace browser_sync | 310 } // namespace browser_sync |
OLD | NEW |