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

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

Issue 667453003: First stage of launch for embedded options pages. With this patch, extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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/common/extensions/manifest_tests/extension_manifests_options_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_webui_apitest.cc
diff --git a/chrome/browser/extensions/extension_webui_apitest.cc b/chrome/browser/extensions/extension_webui_apitest.cc
index 16f91583372b30790fd453f43e3649796d9d670e..d07b67606af0e59e89ebce985fee29400b73b27f 100644
--- a/chrome/browser/extensions/extension_webui_apitest.cc
+++ b/chrome/browser/extensions/extension_webui_apitest.cc
@@ -17,7 +17,6 @@
#include "extensions/browser/event_router.h"
#include "extensions/common/api/test.h"
#include "extensions/common/extension.h"
-#include "extensions/common/feature_switch.h"
#include "extensions/common/switches.h"
#include "extensions/test/extension_test_message_listener.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -127,16 +126,6 @@ class ExtensionWebUITest : public ExtensionApiTest {
return frame_host;
}
- virtual void SetUpCommandLine(CommandLine* command_line) override {
- FeatureSwitch::ScopedOverride enable_options(
- FeatureSwitch::embedded_extension_options(), true);
- // Need to add a command line flag as well as a FeatureSwitch because the
- // FeatureSwitch is not copied over to the renderer process from the
- // browser process.
- command_line->AppendSwitch(switches::kEnableEmbeddedExtensionOptions);
- ExtensionApiTest::SetUpCommandLine(command_line);
- }
-
scoped_ptr<FeatureSwitch::ScopedOverride> enable_options_;
};
« no previous file with comments | « no previous file | chrome/common/extensions/manifest_tests/extension_manifests_options_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698