Index: components/history/core/test/test_history_database.h |
diff --git a/components/history/core/test/test_history_database.h b/components/history/core/test/test_history_database.h |
index 178b8a88a64f903b498cd5022cfd89cb2cbb5360..52b431bf51ba4e5bc496b3d6a4ba6b1a02e46164 100644 |
--- a/components/history/core/test/test_history_database.h |
+++ b/components/history/core/test/test_history_database.h |
@@ -5,6 +5,7 @@ |
#ifndef COMPONENTS_HISTORY_CORE_TEST_TEST_HISTORY_DATABASE_H_ |
#define COMPONENTS_HISTORY_CORE_TEST_TEST_HISTORY_DATABASE_H_ |
+#include "components/history/core/browser/download_types.h" |
#include "components/history/core/browser/history_database.h" |
namespace base { |
@@ -15,6 +16,13 @@ namespace history { |
struct HistoryDatabaseParams; |
+// The download successfully completed. Value for tests. |
+extern const DownloadInterruptReason kTestDownloadInterruptReasonNone; |
+ |
+// The download was interrupted by a browser crash. Internal use only. |
+// Resume pending downloads if possible. Value for tests. |
+extern const DownloadInterruptReason kTestDownloadInterruptReasonCrash; |
+ |
// TestHistoryDatabase is a simple wrapper around HistoryDatabase that provides |
// default values to the constructor. |
class TestHistoryDatabase : public HistoryDatabase { |