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

Side by Side Diff: chrome/browser/sync_file_system/mock_local_change_processor.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build 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 (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 "chrome/browser/sync_file_system/mock_local_change_processor.h" 5 #include "chrome/browser/sync_file_system/mock_local_change_processor.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/single_thread_task_runner.h" 9 #include "base/single_thread_task_runner.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
(...skipping 13 matching lines...) Expand all
24 &MockLocalChangeProcessor::ApplyLocalChangeStub)); 24 &MockLocalChangeProcessor::ApplyLocalChangeStub));
25 } 25 }
26 26
27 MockLocalChangeProcessor::~MockLocalChangeProcessor() { 27 MockLocalChangeProcessor::~MockLocalChangeProcessor() {
28 } 28 }
29 29
30 void MockLocalChangeProcessor::ApplyLocalChangeStub( 30 void MockLocalChangeProcessor::ApplyLocalChangeStub(
31 const FileChange& change, 31 const FileChange& change,
32 const base::FilePath& local_file_path, 32 const base::FilePath& local_file_path,
33 const SyncFileMetadata& local_file_metadata, 33 const SyncFileMetadata& local_file_metadata,
34 const fileapi::FileSystemURL& url, 34 const storage::FileSystemURL& url,
35 const SyncStatusCallback& callback) { 35 const SyncStatusCallback& callback) {
36 base::ThreadTaskRunnerHandle::Get()->PostTask( 36 base::ThreadTaskRunnerHandle::Get()->PostTask(
37 FROM_HERE, base::Bind(callback, SYNC_STATUS_OK)); 37 FROM_HERE, base::Bind(callback, SYNC_STATUS_OK));
38 } 38 }
39 39
40 } // namespace sync_file_system 40 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698