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

Side by Side Diff: components/sync_sessions/revisit/sessions_page_revisit_observer.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/revisit/sessions_page_revisit_observer.h" 5 #include "components/sync_sessions/revisit/sessions_page_revisit_observer.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "components/sessions/core/session_types.h" 12 #include "components/sessions/core/session_types.h"
13 #include "components/sync_sessions/revisit/current_tab_matcher.h" 13 #include "components/sync_sessions/revisit/current_tab_matcher.h"
14 #include "components/sync_sessions/revisit/offset_tab_matcher.h" 14 #include "components/sync_sessions/revisit/offset_tab_matcher.h"
15 #include "components/sync_sessions/revisit/page_equality.h" 15 #include "components/sync_sessions/revisit/page_equality.h"
16 #include "components/sync_sessions/synced_session.h" 16 #include "components/sync_sessions/synced_session.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 namespace sync_sessions { 19 namespace sync_sessions {
20 20
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 74
75 // emit even if there are no foreign sessions so that that counts all match. 75 // emit even if there are no foreign sessions so that that counts all match.
76 current_matcher.Emit(transition); 76 current_matcher.Emit(transition);
77 offset_matcher.Emit(transition); 77 offset_matcher.Emit(transition);
78 78
79 base::TimeDelta duration(base::TimeTicks::Now() - start); 79 base::TimeDelta duration(base::TimeTicks::Now() - start);
80 UMA_HISTOGRAM_TIMES("Sync.PageRevisitSessionDuration", duration); 80 UMA_HISTOGRAM_TIMES("Sync.PageRevisitSessionDuration", duration);
81 } 81 }
82 82
83 } // namespace sync_sessions 83 } // namespace sync_sessions
OLDNEW
« no previous file with comments | « components/sync_sessions/favicon_cache.cc ('k') | components/sync_sessions/session_data_type_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698