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

Side by Side Diff: components/sync/api/attachments/attachment_store_backend.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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/api/attachments/attachment_store_backend.h" 5 #include "components/sync/api/attachments/attachment_store_backend.h"
6 6
7 #include "base/location.h" 7 #include "base/location.h"
8 #include "base/sequenced_task_runner.h" 8 #include "base/sequenced_task_runner.h"
9 9
10 namespace syncer { 10 namespace syncer {
11 11
12 AttachmentStoreBackend::AttachmentStoreBackend( 12 AttachmentStoreBackend::AttachmentStoreBackend(
13 const scoped_refptr<base::SequencedTaskRunner>& callback_task_runner) 13 const scoped_refptr<base::SequencedTaskRunner>& callback_task_runner)
14 : callback_task_runner_(callback_task_runner) { 14 : callback_task_runner_(callback_task_runner) {}
15 }
16 15
17 AttachmentStoreBackend::~AttachmentStoreBackend() { 16 AttachmentStoreBackend::~AttachmentStoreBackend() {}
18 }
19 17
20 void AttachmentStoreBackend::PostCallback(const base::Closure& callback) { 18 void AttachmentStoreBackend::PostCallback(const base::Closure& callback) {
21 callback_task_runner_->PostTask(FROM_HERE, callback); 19 callback_task_runner_->PostTask(FROM_HERE, callback);
22 } 20 }
23 21
24 } // namespace syncer 22 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/api/attachments/attachment_store_backend.h ('k') | components/sync/api/attachments/attachment_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698