Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / sync / api / attachments / attachment_store_backend.cc
blob44363cc1a01a6087409f47e6f81aa48b680e4edd
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
3 // found in the LICENSE file.
5 #include "sync/api/attachments/attachment_store_backend.h"
7 #include "base/location.h"
8 #include "base/sequenced_task_runner.h"
10 namespace syncer {
12 AttachmentStoreBackend::AttachmentStoreBackend(
13 const scoped_refptr<base::SequencedTaskRunner>& callback_task_runner)
14 : callback_task_runner_(callback_task_runner) {
17 AttachmentStoreBackend::~AttachmentStoreBackend() {
20 void AttachmentStoreBackend::PostCallback(const base::Closure& callback) {
21 callback_task_runner_->PostTask(FROM_HERE, callback);
24 } // namespace syncer