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

Side by Side Diff: components/sync/base/weak_handle.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, 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 unified diff | Download patch
« no previous file with comments | « components/sync/base/weak_handle.h ('k') | components/sync/base/weak_handle_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/internal_api/public/util/weak_handle.h" 5 #include "components/sync/base/weak_handle.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 12
13 namespace syncer { 13 namespace syncer {
14 14
15 namespace internal { 15 namespace internal {
(...skipping 11 matching lines...) Expand all
27 const tracked_objects::Location& from_here, 27 const tracked_objects::Location& from_here,
28 const base::Closure& fn) const { 28 const base::Closure& fn) const {
29 if (!owner_loop_task_runner_->PostTask(from_here, fn)) { 29 if (!owner_loop_task_runner_->PostTask(from_here, fn)) {
30 DVLOG(1) << "Could not post task from " << from_here.ToString(); 30 DVLOG(1) << "Could not post task from " << from_here.ToString();
31 } 31 }
32 } 32 }
33 33
34 } // namespace internal 34 } // namespace internal
35 35
36 } // namespace syncer 36 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/base/weak_handle.h ('k') | components/sync/base/weak_handle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698