| Index: chrome/browser/history/history_test_utils.h
|
| diff --git a/chrome/browser/history/history_test_utils.h b/chrome/browser/history/history_test_utils.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7704a4ce9e4ccba8591abc315452b752f676f100
|
| --- /dev/null
|
| +++ b/chrome/browser/history/history_test_utils.h
|
| @@ -0,0 +1,14 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROME_BROWSER_HISTORY_HISTORY_TEST_UTILS_H_
|
| +#define CHROME_BROWSER_HISTORY_HISTORY_TEST_UTILS_H_
|
| +
|
| +class Profile;
|
| +
|
| +// Spins the current message loop until all pending messages on the history DB
|
| +// thread complete.
|
| +void WaitForHistoryBackendToRun(Profile* profile);
|
| +
|
| +#endif // CHROME_BROWSER_HISTORY_HISTORY_TEST_UTILS_H_
|
|
|