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

Unified Diff: chrome/browser/extensions/extension_startup_unittest.cc

Issue 189005: Revert 25204 - Revert 24846 Enable extensions by default.... (Closed) Base URL: svn://chrome-svn/chrome/branches/205/src/
Patch Set: Created 11 years, 4 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 | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_startup_unittest.cc
===================================================================
--- chrome/browser/extensions/extension_startup_unittest.cc (revision 25205)
+++ chrome/browser/extensions/extension_startup_unittest.cc (working copy)
@@ -45,8 +45,6 @@
extensions_dir_ = profile_dir.AppendASCII("Extensions");
if (enable_extensions_) {
- command_line->AppendSwitch(switches::kEnableExtensions);
-
FilePath src_dir;
PathService::Get(chrome::DIR_TEST_DATA, &src_dir);
src_dir = src_dir.AppendASCII("extensions").AppendASCII("good");
@@ -55,6 +53,8 @@
preferences_file_);
file_util::CopyDirectory(src_dir.AppendASCII("Extensions"),
profile_dir, true); // recursive
+ } else {
+ command_line->AppendSwitch(switches::kDisableExtensions);
}
if (enable_user_scripts_) {
« no previous file with comments | « chrome/browser/extensions/extension_browsertest.cc ('k') | chrome/browser/extensions/extension_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698