| Index: components/history/core/test/history_service_test_util.h
|
| diff --git a/components/history/core/test/history_service_test_util.h b/components/history/core/test/history_service_test_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c2456a5dda46941000e05ae4068a868ca4e8be68
|
| --- /dev/null
|
| +++ b/components/history/core/test/history_service_test_util.h
|
| @@ -0,0 +1,30 @@
|
| +// 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 COMPONENTS_HISTORY_CORE_TEST_HISTORY_SERVICE_TEST_UTIL_H_
|
| +#define COMPONENTS_HISTORY_CORE_TEST_HISTORY_SERVICE_TEST_UTIL_H_
|
| +
|
| +#include <string>
|
| +
|
| +#include "base/macros.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| +
|
| +namespace base {
|
| +class FilePath;
|
| +}
|
| +
|
| +namespace history {
|
| +class HistoryService;
|
| +
|
| +scoped_ptr<HistoryService> CreateHistoryService(
|
| + const base::FilePath& history_dir,
|
| + const std::string& accept_languages,
|
| + bool create_db);
|
| +
|
| +void BlockUntilHistoryProcessesPendingRequests(
|
| + HistoryService* history_service);
|
| +
|
| +} // namespace history
|
| +
|
| +#endif // COMPONENTS_HISTORY_CORE_TEST_HISTORY_SERVICE_TEST_UTIL_H_
|
|
|