Index: chrome/browser/extensions/api/idltest/idltest_apitest.cc |
diff --git a/chrome/browser/extensions/api/idltest/idltest_apitest.cc b/chrome/browser/extensions/api/idltest/idltest_apitest.cc |
index da3d621227abbc19e824f6b0a085438f58e78a77..95a608ed2e450d0e35ba5b59ce103a07f27feded 100644 |
--- a/chrome/browser/extensions/api/idltest/idltest_apitest.cc |
+++ b/chrome/browser/extensions/api/idltest/idltest_apitest.cc |
@@ -3,18 +3,17 @@ |
// found in the LICENSE file. |
#include "chrome/browser/extensions/extension_apitest.h" |
+#include "chrome/common/extensions/features/feature_channel.h" |
#include "extensions/common/switches.h" |
class ExtensionIdltestApiTest : public ExtensionApiTest { |
public: |
- ExtensionIdltestApiTest() {} |
+ // Set the channel to "trunk" since idltest is restricted to trunk. |
+ ExtensionIdltestApiTest() : trunk_(chrome::VersionInfo::CHANNEL_UNKNOWN) {} |
virtual ~ExtensionIdltestApiTest() {} |
- virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { |
- ExtensionApiTest::SetUpCommandLine(command_line); |
- command_line->AppendSwitch( |
- extensions::switches::kEnableExperimentalExtensionApis); |
- } |
+ private: |
+ extensions::ScopedCurrentChannel trunk_; |
}; |
IN_PROC_BROWSER_TEST_F(ExtensionIdltestApiTest, IdlCompiler) { |