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

Unified Diff: components/sync/base/cancelation_signal_unittest.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/base/cancelation_signal.cc ('k') | components/sync/base/cryptographer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/cancelation_signal_unittest.cc
diff --git a/sync/internal_api/public/base/cancelation_signal_unittest.cc b/components/sync/base/cancelation_signal_unittest.cc
similarity index 96%
rename from sync/internal_api/public/base/cancelation_signal_unittest.cc
rename to components/sync/base/cancelation_signal_unittest.cc
index dbd19eb8c6299be2eaec733a0d9a12767f87fc15..3729d53a33dedb3e94d642fe9d71cdf23127b0a6 100644
--- a/sync/internal_api/public/base/cancelation_signal_unittest.cc
+++ b/components/sync/base/cancelation_signal_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 "sync/internal_api/public/base/cancelation_signal.h"
+#include "components/sync/base/cancelation_signal.h"
#include "base/bind.h"
#include "base/message_loop/message_loop.h"
@@ -11,7 +11,7 @@
#include "base/threading/platform_thread.h"
#include "base/threading/thread.h"
#include "base/time/time.h"
-#include "sync/internal_api/public/base/cancelation_observer.h"
+#include "components/sync/base/cancelation_observer.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -70,9 +70,8 @@ void BlockingTask::RunAsync(base::WaitableEvent* task_start_signal,
base::Unretained(task_done_signal)));
}
-void BlockingTask::Run(
- base::WaitableEvent* task_start_signal,
- base::WaitableEvent* task_done_signal) {
+void BlockingTask::Run(base::WaitableEvent* task_start_signal,
+ base::WaitableEvent* task_done_signal) {
if (cancel_signal_->TryRegisterHandler(this)) {
DCHECK(!event_.IsSignaled());
was_started_ = true;
« no previous file with comments | « components/sync/base/cancelation_signal.cc ('k') | components/sync/base/cryptographer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698