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

Unified Diff: components/sync_sessions/revisit/current_tab_matcher_unittest.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/current_tab_matcher_unittest.cc
diff --git a/components/sync_driver/revisit/current_tab_matcher_unittest.cc b/components/sync_sessions/revisit/current_tab_matcher_unittest.cc
similarity index 93%
rename from components/sync_driver/revisit/current_tab_matcher_unittest.cc
rename to components/sync_sessions/revisit/current_tab_matcher_unittest.cc
index 425a0e98260bce4f2a4ee9b109443cf4217ddfd7..468810c10741c0ac7331fb7c5fd6de9c7d95dc14 100644
--- a/components/sync_driver/revisit/current_tab_matcher_unittest.cc
+++ b/components/sync_sessions/revisit/current_tab_matcher_unittest.cc
@@ -2,7 +2,7 @@
// 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/current_tab_matcher.h"
+#include "components/sync_sessions/revisit/current_tab_matcher.h"
#include "base/memory/scoped_ptr.h"
#include "base/test/histogram_tester.h"
@@ -10,13 +10,14 @@
#include "components/sessions/core/serialized_navigation_entry.h"
#include "components/sessions/core/serialized_navigation_entry_test_helper.h"
#include "components/sessions/core/session_types.h"
-#include "components/sync_driver/revisit/page_equality.h"
+#include "components/sync_sessions/revisit/page_equality.h"
+#include "components/sync_sessions/revisit/page_visit_observer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
using sessions::SessionTab;
-namespace sync_driver {
+namespace sync_sessions {
namespace {
@@ -111,4 +112,4 @@ TEST(CurrentTabMatcherTest, Timestamp) {
ASSERT_EQ(tab2.get(), matcher2.most_recent_match_);
}
-} // namespace sync_driver
+} // namespace sync_sessions
« no previous file with comments | « components/sync_sessions/revisit/current_tab_matcher.cc ('k') | components/sync_sessions/revisit/offset_tab_matcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698