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

Unified Diff: components/sync/js/js_test_util.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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
« no previous file with comments | « components/sync/js/js_test_util.h ('k') | components/sync/js/sync_js_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/js/js_test_util.cc
diff --git a/sync/js/js_test_util.cc b/components/sync/js/js_test_util.cc
similarity index 89%
rename from sync/js/js_test_util.cc
rename to components/sync/js/js_test_util.cc
index eafe0978783444cccfefed79e049858c9dcbcd50..40089cf4e7c54834cbb5268b4a42d5c642b3a191 100644
--- a/sync/js/js_test_util.cc
+++ b/components/sync/js/js_test_util.cc
@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/js/js_test_util.h"
+#include "components/sync/js/js_test_util.h"
#include <memory>
#include "base/macros.h"
-#include "sync/js/js_event_details.h"
+#include "components/sync/js/js_event_details.h"
namespace syncer {
@@ -26,9 +26,8 @@ class HasDetailsMatcher
virtual ~HasDetailsMatcher() {}
- virtual bool MatchAndExplain(
- const JsEventDetails& details,
- ::testing::MatchResultListener* listener) const {
+ virtual bool MatchAndExplain(const JsEventDetails& details,
+ ::testing::MatchResultListener* listener) const {
// No need to annotate listener since we already define PrintTo().
return details.Get().Equals(&expected_details_.Get());
}
@@ -82,4 +81,3 @@ WeakHandle<JsEventHandler> MockJsEventHandler::AsWeakHandle() {
MockJsEventHandler::~MockJsEventHandler() {}
} // namespace syncer
-
« no previous file with comments | « components/sync/js/js_test_util.h ('k') | components/sync/js/sync_js_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698