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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_TEST_UTIL_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_TEST_UTIL_H_
8 #include "base/callback_forward.h"
9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h"
14 class SingleThreadTaskRunner
;
17 namespace sync_file_system
{
20 void AssignAndQuit(base::RunLoop
* run_loop
, R
* result_out
, R result
);
22 template <typename R
> base::Callback
<void(R
)>
23 AssignAndQuitCallback(base::RunLoop
* run_loop
, R
* result
);
25 } // namespace sync_file_system
27 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_TEST_UTIL_H_