Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Side by Side Diff: components/offline_items_collection/core/offline_item_state.h

Issue 2707003003: Initial checkin of the Java OfflineContentProvider (Closed)
Patch Set: Fixed findbugs warning Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/offline_items_collection/core/offline_item_filter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_ 5 #ifndef COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_
6 #define COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_ 6 #define COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_
7 7
8 namespace offline_items_collection { 8 namespace offline_items_collection {
9 9
10 // A Java counterpart will be generated for this enum. 10 // A Java counterpart will be generated for this enum.
11 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.offline_items_collection.core.item 11 // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.components.offline_items_collection
12 enum OfflineItemState { 12 enum OfflineItemState {
13 IN_PROGRESS = 0, 13 IN_PROGRESS = 0,
14 COMPLETE, 14 COMPLETE,
15 CANCELLED, 15 CANCELLED,
16 INTERRUPTED, 16 INTERRUPTED,
17 PAUSED, // TODO(dtrainor): Make sure exposing a PAUSED state does not impact 17 PAUSED, // TODO(dtrainor): Make sure exposing a PAUSED state does not impact
18 // downloads resumption. 18 // downloads resumption.
19 MAX_DOWNLOAD_STATE, 19 MAX_DOWNLOAD_STATE,
20 }; 20 };
21 21
22 } // namespace offline_items_collection 22 } // namespace offline_items_collection
23 23
24 #endif // COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_ 24 #endif // COMPONENTS_OFFLINE_ITEMS_COLLECTION_CORE_OFFLINE_ITEM_STATE_H_
OLDNEW
« no previous file with comments | « components/offline_items_collection/core/offline_item_filter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698