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

Side by Side Diff: components/offline_items_collection/core/android/java/src/org/chromium/components/offline_items_collection/OfflineItem.java

Issue 2811803006: Add support for pulling icons for OfflineItems (Closed)
Patch Set: More findbugs Created 3 years, 8 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
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 package org.chromium.components.offline_items_collection; 5 package org.chromium.components.offline_items_collection;
6 6
7 import org.chromium.base.annotations.SuppressFBWarnings; 7 import org.chromium.base.annotations.SuppressFBWarnings;
8 8
9 /** 9 /**
10 * This class is the Java counterpart to the C++ OfflineItem 10 * This class is the Java counterpart to the C++ OfflineItem
(...skipping 27 matching lines...) Expand all
38 38
39 // In Progress Metadata. 39 // In Progress Metadata.
40 @OfflineItemState 40 @OfflineItemState
41 public int state; 41 public int state;
42 public boolean isResumable; 42 public boolean isResumable;
43 public boolean allowMetered; 43 public boolean allowMetered;
44 public long receivedBytes; 44 public long receivedBytes;
45 public int percentCompleted; 45 public int percentCompleted;
46 public long timeRemainingMs; 46 public long timeRemainingMs;
47 47
48 OfflineItem() { 48 public OfflineItem() {
49 id = new ContentId(); 49 id = new ContentId();
50 filter = OfflineItemFilter.FILTER_OTHER; 50 filter = OfflineItemFilter.FILTER_OTHER;
51 state = OfflineItemState.COMPLETE; 51 state = OfflineItemState.COMPLETE;
52 } 52 }
53 } 53 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698