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

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

Issue 6793008: Replacing base::DIR_TEMP with ScopedTempDir when appropriate. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: I obviously need a Windows test machine. Created 9 years, 8 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: chrome/browser/extensions/extension_browsertest.h
diff --git a/chrome/browser/extensions/extension_browsertest.h b/chrome/browser/extensions/extension_browsertest.h
index 22fb6c649fcad1e5a9326f7ac5112a2c12129f5d..2fda271d140d59c363b087a324151c93ec68f71d 100644
--- a/chrome/browser/extensions/extension_browsertest.h
+++ b/chrome/browser/extensions/extension_browsertest.h
@@ -10,6 +10,7 @@
#include "base/command_line.h"
#include "base/file_path.h"
+#include "base/memory/scoped_temp_dir.h"
#include "chrome/test/in_process_browser_test.h"
#include "content/common/notification_details.h"
#include "content/common/notification_observer.h"
@@ -122,6 +123,9 @@ class ExtensionBrowserTest
int extension_installs_observed_;
private:
+ // Temporary directory for testing.
+ ScopedTempDir temp_dir_;
+
// Specifies the type of UI (if any) to show during installation and what
// user action to simulate.
enum InstallUIType {

Powered by Google App Engine
This is Rietveld 408576698