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

Unified Diff: components/sync/base/bind_to_task_runner.h

Issue 2257523003: [Sync] Move StartAssociation from NonUIDataTypeController to SharedChangeProcessor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move local_service_ WeakPtr to SharedChangeProcessor. Created 4 years, 4 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/BUILD.gn ('k') | components/sync/base/bind_to_task_runner_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/bind_to_task_runner.h
diff --git a/chromecast/base/bind_to_task_runner.h b/components/sync/base/bind_to_task_runner.h
similarity index 93%
copy from chromecast/base/bind_to_task_runner.h
copy to components/sync/base/bind_to_task_runner.h
index 8923429e91f499e93b6820e397d1829162397419..6868b4282d17a5abec910cbe1d70e9167fb838b2 100644
--- a/chromecast/base/bind_to_task_runner.h
+++ b/components/sync/base/bind_to_task_runner.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROMECAST_BASE_BIND_TO_TASK_RUNNER_H_
-#define CHROMECAST_BASE_BIND_TO_TASK_RUNNER_H_
+#ifndef COMPONENTS_SYNC_BASE_BIND_TO_TASK_RUNNER_H_
+#define COMPONENTS_SYNC_BASE_BIND_TO_TASK_RUNNER_H_
#include <memory>
@@ -34,7 +34,7 @@
// As a convenience, you can use BindToCurrentThread() to bind to the
// TaskRunner for the current thread (ie, base::ThreadTaskRunnerHandle::Get()).
-namespace chromecast {
+namespace syncer {
namespace bind_helpers {
template <typename T>
@@ -82,6 +82,6 @@ base::Callback<T> BindToCurrentThread(const base::Callback<T>& cb) {
return BindToTaskRunner(base::ThreadTaskRunnerHandle::Get(), cb);
}
-} // namespace chromecast
+} // namespace syncer
-#endif // CHROMECAST_BASE_BIND_TO_TASK_RUNNER_H_
+#endif // COMPONENTS_SYNC_BASE_BIND_TO_TASK_RUNNER_H_
« no previous file with comments | « components/sync/BUILD.gn ('k') | components/sync/base/bind_to_task_runner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698