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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
549 | 549 |
550 @Override | 550 @Override |
551 public boolean isComplete() { | 551 public boolean isComplete() { |
552 return true; | 552 return true; |
553 } | 553 } |
554 | 554 |
555 @Override | 555 @Override |
556 public boolean isPaused() { | 556 public boolean isPaused() { |
557 return false; | 557 return false; |
558 } | 558 } |
559 | |
560 @Override | |
561 public boolean isOfflinePage() { | |
gone
2017/02/02 23:59:47
If you absolutely need this function, then put it
shaktisahu
2017/02/04 18:57:42
Done.
Removed. Added check isSuggested() to Offli
| |
562 return true; | |
563 } | |
559 } | 564 } |
560 } | 565 } |
OLD | NEW |