diff options
Diffstat (limited to 'content/browser/download/download_item.h')
-rw-r--r-- | content/browser/download/download_item.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/content/browser/download/download_item.h b/content/browser/download/download_item.h index 2a9b8b9..c3d78ac 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 |