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

Side by Side Diff: chrome/browser/sync_file_system/drive_backend/sync_task_manager.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h" 5 #include "chrome/browser/sync_file_system/drive_backend/sync_task_manager.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
11 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h" 11 #include "chrome/browser/sync_file_system/drive_backend/sync_task.h"
12 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h" 12 #include "chrome/browser/sync_file_system/drive_backend/sync_task_token.h"
13 #include "chrome/browser/sync_file_system/sync_file_metadata.h" 13 #include "chrome/browser/sync_file_system/sync_file_metadata.h"
14 14
15 using fileapi::FileSystemURL; 15 using storage::FileSystemURL;
16 16
17 namespace sync_file_system { 17 namespace sync_file_system {
18 namespace drive_backend { 18 namespace drive_backend {
19 19
20 namespace { 20 namespace {
21 21
22 class SyncTaskAdapter : public ExclusiveTask { 22 class SyncTaskAdapter : public ExclusiveTask {
23 public: 23 public:
24 explicit SyncTaskAdapter(const SyncTaskManager::Task& task) : task_(task) {} 24 explicit SyncTaskAdapter(const SyncTaskManager::Task& task) : task_(task) {}
25 virtual ~SyncTaskAdapter() {} 25 virtual ~SyncTaskAdapter() {}
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 closure.Run(); 395 closure.Run();
396 return; 396 return;
397 } 397 }
398 398
399 if (client_) 399 if (client_)
400 client_->MaybeScheduleNextTask(); 400 client_->MaybeScheduleNextTask();
401 } 401 }
402 402
403 } // namespace drive_backend 403 } // namespace drive_backend
404 } // namespace sync_file_system 404 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698