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

Unified Diff: components/sync_sessions/revisit/offset_tab_matcher.cc

Issue 1387253004: [Sync] Creating sync_sessions component, moving revisit logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing test_support target. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_sessions/revisit/offset_tab_matcher.cc
diff --git a/components/sync_driver/revisit/offset_tab_matcher.cc b/components/sync_sessions/revisit/offset_tab_matcher.cc
similarity index 96%
rename from components/sync_driver/revisit/offset_tab_matcher.cc
rename to components/sync_sessions/revisit/offset_tab_matcher.cc
index 51aab13f58f0dff4776bcbcad20bdff9c9db9737..35a0a039aa8864a1c27fe09047f682ff44ed3690 100644
--- a/components/sync_driver/revisit/offset_tab_matcher.cc
+++ b/components/sync_sessions/revisit/offset_tab_matcher.cc
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/sync_driver/revisit/offset_tab_matcher.h"
+#include "components/sync_sessions/revisit/offset_tab_matcher.h"
+
+#include <algorithm>
#include "base/metrics/histogram_macros.h"
#include "base/metrics/sparse_histogram.h"
#include "components/sessions/core/serialized_navigation_entry.h"
-namespace sync_driver {
+namespace sync_sessions {
namespace {
@@ -76,4 +78,4 @@ int OffsetTabMatcher::Clamp(const int input, const int lower, const int upper) {
return std::max(lower, std::min(upper, input));
}
-} // namespace sync_driver
+} // namespace sync_sessions
« no previous file with comments | « components/sync_sessions/revisit/offset_tab_matcher.h ('k') | components/sync_sessions/revisit/offset_tab_matcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698