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

Unified Diff: chrome/browser/extensions/api/idltest/idltest_apitest.cc

Issue 23799006: Move idltest API to trunk channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Setting channel to trunk for the api test Created 7 years, 3 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/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) {
« no previous file with comments | « chrome/browser/extensions/api/idltest/idltest_api.h ('k') | chrome/browser/extensions/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698