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

Unified Diff: content/browser/download/download_item.h

Issue 8082019: more content exports needed for unit_tests and browser_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert export of browser_accessibility_win for now Created 9 years, 3 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
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

Powered by Google App Engine
This is Rietveld 408576698