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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/offlinepages/downloads/OfflinePageDownloadItem.java

Issue 2670083002: [Download Home] Displaying offline page bundle per day (Closed)
Patch Set: FindBugs fix Created 3 years, 10 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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.chrome.browser.offlinepages.downloads; 5 package org.chromium.chrome.browser.offlinepages.downloads;
6 6
7 import org.chromium.components.offlinepages.downloads.DownloadState; 7 import org.chromium.components.offlinepages.downloads.DownloadState;
8 8
9 /** Class representing offline page or save page request to downloads UI. */ 9 /** Class representing offline page or save page request to downloads UI. */
10 public class OfflinePageDownloadItem { 10 public class OfflinePageDownloadItem {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 /** @return Start time of the item, corresponding to when the offline page w as saved. */ 69 /** @return Start time of the item, corresponding to when the offline page w as saved. */
70 public long getStartTimeMs() { 70 public long getStartTimeMs() {
71 return mStartTimeMs; 71 return mStartTimeMs;
72 } 72 }
73 73
74 /** @return Size of the offline archive in bytes. */ 74 /** @return Size of the offline archive in bytes. */
75 public long getTotalBytes() { 75 public long getTotalBytes() {
76 return mTotalBytes; 76 return mTotalBytes;
77 } 77 }
78
79 /** @return Whether this page is to be shown in the suggested reading sectio n. */
80 public boolean isSuggested() {
81 return false;
82 }
78 } 83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698