Add a minor text member to ui::MenuModel.
[chromium-blink-merge.git] / chrome / browser / sync_file_system / sync_file_system_test_util.h
bloba7c33facc0a222a051cbe1963d751de99e0c38c8
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"
12 namespace base {
13 class RunLoop;
14 class SingleThreadTaskRunner;
17 namespace sync_file_system {
19 template <typename R>
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_