| 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 "components/sync_sessions/synced_session_tracker.h" | 5 #include "components/sync_sessions/synced_session_tracker.h" |
| 6 | 6 |
| 7 #include <utility> |
| 8 |
| 7 #include "base/logging.h" | 9 #include "base/logging.h" |
| 8 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 9 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 10 #include "components/sync_sessions/sync_sessions_client.h" | 12 #include "components/sync_sessions/sync_sessions_client.h" |
| 11 | 13 |
| 12 namespace sync_sessions { | 14 namespace sync_sessions { |
| 13 | 15 |
| 14 namespace { | 16 namespace { |
| 15 | 17 |
| 16 // Helper for iterating through all tabs within a window, and all navigations | 18 // Helper for iterating through all tabs within a window, and all navigations |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 | 349 |
| 348 // Get rid of our convenience maps (does not delete the actual Window/Tabs | 350 // Get rid of our convenience maps (does not delete the actual Window/Tabs |
| 349 // themselves; they should have all been deleted above). | 351 // themselves; they should have all been deleted above). |
| 350 synced_window_map_.clear(); | 352 synced_window_map_.clear(); |
| 351 synced_tab_map_.clear(); | 353 synced_tab_map_.clear(); |
| 352 | 354 |
| 353 local_session_tag_.clear(); | 355 local_session_tag_.clear(); |
| 354 } | 356 } |
| 355 | 357 |
| 356 } // namespace sync_sessions | 358 } // namespace sync_sessions |
| OLD | NEW |