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

Side by Side Diff: components/sync_sessions/synced_session_tracker.cc

Issue 2389063002: [Sync] Fixing easy lint violations. (Closed)
Patch Set: Updated for Max's comments. Created 4 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
« no previous file with comments | « components/sync_sessions/synced_session_tracker.h ('k') | no next file » | 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) 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
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
OLDNEW
« no previous file with comments | « components/sync_sessions/synced_session_tracker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698