| Index: components/offline_items_collection/core/offline_item_state.h
|
| diff --git a/components/offline_items_collection/core/offline_item_state.h b/components/offline_items_collection/core/offline_item_state.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1f7ec12eb1f211ff6b0bf0e77706f0f892962018
|
| --- /dev/null
|
| +++ b/components/offline_items_collection/core/offline_item_state.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2017 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_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_
|
| +#define COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_
|
| +
|
| +namespace offline_items_collection {
|
| +
|
| +// A Java counterpart will be generated for this enum.
|
| +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.offline_items_collection.core.item
|
| +enum OfflineItemState {
|
| + IN_PROGRESS = 0,
|
| + COMPLETE,
|
| + CANCELLED,
|
| + INTERRUPTED,
|
| + PAUSED, // TODO(dtrainor): Make sure exposing a PAUSED state does not impact
|
| + // downloads resumption.
|
| + MAX_DOWNLOAD_STATE,
|
| +};
|
| +
|
| +} // namespace offline_items_collection
|
| +
|
| +#endif // COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_
|
|
|