Index: chrome/browser/ntp_snippets/fake_download_item.cc |
diff --git a/chrome/browser/ntp_snippets/fake_download_item.cc b/chrome/browser/ntp_snippets/fake_download_item.cc |
index 05d8a522cc9a9776547cf42fe38c1988b8c53b26..39eb275dcdf729f7b35f5ce500ae73e599fcdf08 100644 |
--- a/chrome/browser/ntp_snippets/fake_download_item.cc |
+++ b/chrome/browser/ntp_snippets/fake_download_item.cc |
@@ -55,6 +55,14 @@ uint32_t FakeDownloadItem::GetId() const { |
return id_; |
} |
+void FakeDownloadItem::SetGuid(const std::string& guid) { |
+ guid_ = guid; |
+} |
+ |
+const std::string& FakeDownloadItem::GetGuid() const { |
+ return guid_; |
+} |
+ |
void FakeDownloadItem::SetURL(const GURL& url) { |
url_ = url; |
} |
@@ -156,11 +164,6 @@ void FakeDownloadItem::ShowDownloadInShell() { |
NOTREACHED(); |
} |
-const std::string& FakeDownloadItem::GetGuid() const { |
- NOTREACHED(); |
- return dummy_string; |
-} |
- |
content::DownloadInterruptReason FakeDownloadItem::GetLastReason() const { |
NOTREACHED(); |
return content::DownloadInterruptReason(); |