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

Unified Diff: chrome/browser/extensions/webstore_installer_test.h

Issue 276133002: Use a temp directory for downloads in WebstoreInstaller tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | « no previous file | chrome/browser/extensions/webstore_installer_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/webstore_installer_test.h
diff --git a/chrome/browser/extensions/webstore_installer_test.h b/chrome/browser/extensions/webstore_installer_test.h
index 00a7ae8b6a786c1125e4999f57a7b1df61d9b48e..bb9b5b59461f84e5b64e50135097945e7f974063 100644
--- a/chrome/browser/extensions/webstore_installer_test.h
+++ b/chrome/browser/extensions/webstore_installer_test.h
@@ -7,6 +7,7 @@
#include <string>
+#include "base/files/scoped_temp_dir.h"
#include "chrome/test/base/in_process_browser_test.h"
#include "url/gurl.h"
@@ -25,6 +26,7 @@ class WebstoreInstallerTest : public InProcessBrowserTest {
virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
virtual void SetUpInProcessBrowserTestFixture() OVERRIDE;
+ virtual void SetUpOnMainThread() OVERRIDE;
protected:
GURL GenerateTestServerUrl(const std::string& domain,
@@ -49,6 +51,8 @@ class WebstoreInstallerTest : public InProcessBrowserTest {
std::string verified_domain_;
std::string unverified_domain_;
std::string test_gallery_url_;
+
+ base::ScopedTempDir download_directory_;
};
#endif // CHROME_BROWSER_EXTENSIONS_WEBSTORE_INSTALLER_TEST_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/webstore_installer_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698