Index: content/browser/download/download_item.h |
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h |
index 2a9b8b94dc0f99d4d548acff788f28e144d3b0d5..c3d78ac88672532e3122156080379d03cd55a752 100644 |
--- a/content/browser/download/download_item.h |
+++ b/content/browser/download/download_item.h |
@@ -338,10 +338,7 @@ class CONTENT_EXPORT DownloadItem { |
std::string DebugString(bool verbose) const; |
-#ifdef UNIT_TEST |
- // Mock opening downloads (for testing only). |
- void TestMockDownloadOpen() { open_enabled_ = false; } |
-#endif |
+ void MockDownloadOpenForTesting() { open_enabled_ = false; } |
private: |
// Construction common to all constructors. |active| should be true for new |