OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/extensions/extension_apitest.h" |
| 6 #include "extensions/common/feature_switch.h" |
| 7 |
| 8 using extensions::Extension; |
| 9 using extensions::FeatureSwitch; |
| 10 |
| 11 class ExtensionOptionsApiTest : public ExtensionApiTest {}; |
| 12 |
| 13 IN_PROC_BROWSER_TEST_F(ExtensionOptionsApiTest, EmbedOptionsInExtension) { |
| 14 FeatureSwitch::ScopedOverride enable_options( |
| 15 FeatureSwitch::embedded_extension_options(), true); |
| 16 |
| 17 const Extension* extension = |
| 18 InstallExtension(test_data_dir_.AppendASCII("extension_options"), 1); |
| 19 ASSERT_TRUE(extension); |
| 20 ASSERT_TRUE(RunExtensionSubtest("extension_options", "test.html")); |
| 21 } |
OLD | NEW |