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

Unified Diff: content/test/mock_download_item.h

Issue 9518008: Add a const overload to DownloadItem::GetExternalData() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: "Add a comment explaining the const cast" Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/download_item.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/mock_download_item.h
diff --git a/content/test/mock_download_item.h b/content/test/mock_download_item.h
index ad0378d7fd24f8059b884b0fb27b7392deb1c83d..c91e94cece7656200fd5227d0346b477bcc61ecf 100644
--- a/content/test/mock_download_item.h
+++ b/content/test/mock_download_item.h
@@ -116,6 +116,7 @@ class MockDownloadItem : public content::DownloadItem {
MOCK_CONST_METHOD1(DebugString, std::string(bool));
MOCK_METHOD0(MockDownloadOpenForTesting, void());
MOCK_METHOD1(GetExternalData, ExternalData*(const void*));
+ MOCK_CONST_METHOD1(GetExternalData, const ExternalData*(const void*));
MOCK_METHOD2(SetExternalData, void(const void*, ExternalData*));
};
« no previous file with comments | « content/public/browser/download_item.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698