| OLD | NEW |
| 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.download.ui; | 5 package org.chromium.chrome.browser.download.ui; |
| 6 | 6 |
| 7 import android.content.ComponentName; | 7 import android.content.ComponentName; |
| 8 import android.content.Context; | 8 import android.content.Context; |
| 9 import android.text.TextUtils; | 9 import android.text.TextUtils; |
| 10 | 10 |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 boolean hasBeenExternallyRemoved() { | 540 boolean hasBeenExternallyRemoved() { |
| 541 // We don't currently detect when offline pages have been removed ex
ternally. | 541 // We don't currently detect when offline pages have been removed ex
ternally. |
| 542 return false; | 542 return false; |
| 543 } | 543 } |
| 544 | 544 |
| 545 @Override | 545 @Override |
| 546 boolean isOffTheRecord() { | 546 boolean isOffTheRecord() { |
| 547 return false; | 547 return false; |
| 548 } | 548 } |
| 549 | 549 |
| 550 /** @return Whether this page is to be shown in the suggested reading se
ction. */ |
| 551 public boolean isSuggested() { |
| 552 return mItem.isSuggested(); |
| 553 } |
| 554 |
| 550 @Override | 555 @Override |
| 551 public boolean isComplete() { | 556 public boolean isComplete() { |
| 552 return true; | 557 return true; |
| 553 } | 558 } |
| 554 | 559 |
| 555 @Override | 560 @Override |
| 556 public boolean isPaused() { | 561 public boolean isPaused() { |
| 557 return false; | 562 return false; |
| 558 } | 563 } |
| 559 } | 564 } |
| 560 } | 565 } |
| OLD | NEW |