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 #include "chrome/browser/android/download/duplicate_download_infobar_delegate.h" | 5 #include "chrome/browser/android/download/duplicate_download_infobar_delegate.h" |
6 | 6 |
7 namespace chrome { | 7 namespace chrome { |
8 namespace android { | 8 namespace android { |
9 | 9 |
10 bool DuplicateDownloadInfoBarDelegate::IsOfflinePage() const { | 10 bool DuplicateDownloadInfoBarDelegate::IsOfflinePage() const { |
11 return false; | 11 return false; |
12 } | 12 } |
13 | 13 |
14 std::string DuplicateDownloadInfoBarDelegate::GetPageURL() const { | 14 std::string DuplicateDownloadInfoBarDelegate::GetPageURL() const { |
15 return std::string(); | 15 return std::string(); |
16 } | 16 } |
17 | 17 |
18 bool DuplicateDownloadInfoBarDelegate::IsOffTheRecord() const { | 18 bool DuplicateDownloadInfoBarDelegate::IsOffTheRecord() const { |
19 return false; | 19 return false; |
20 } | 20 } |
21 | 21 |
| 22 std::string DuplicateDownloadInfoBarDelegate::GetDownloadGuid() const { |
| 23 return std::string(); |
| 24 } |
| 25 |
22 base::string16 DuplicateDownloadInfoBarDelegate::GetMessageText() const { | 26 base::string16 DuplicateDownloadInfoBarDelegate::GetMessageText() const { |
23 return base::string16(); | 27 return base::string16(); |
24 } | 28 } |
25 | 29 |
26 bool DuplicateDownloadInfoBarDelegate::ShouldExpire( | 30 bool DuplicateDownloadInfoBarDelegate::ShouldExpire( |
27 const NavigationDetails& details) const { | 31 const NavigationDetails& details) const { |
28 return false; | 32 return false; |
29 } | 33 } |
30 | 34 |
31 } // namespace android | 35 } // namespace android |
32 } // namespace chrome | 36 } // namespace chrome |
OLD | NEW |