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

Unified Diff: chrome/browser/extensions/api/messaging/native_messaging_apitest.cc

Issue 12300041: Add nativeMessaging extension permission (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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/messaging/native_messaging_apitest.cc
diff --git a/chrome/browser/extensions/api/messaging/native_messaging_apitest.cc b/chrome/browser/extensions/api/messaging/native_messaging_apitest.cc
index 1a3dd4238110a77f6b4c3f104f922b7f3b1cf5e2..7c49183f04c0646bee4219b8ee46c41d79d3b2a8 100644
--- a/chrome/browser/extensions/api/messaging/native_messaging_apitest.cc
+++ b/chrome/browser/extensions/api/messaging/native_messaging_apitest.cc
@@ -53,6 +53,8 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, NativeMessageBasic) {
ASSERT_NO_FATAL_FAILURE(CreateTestManifestFile(manifest_path));
CommandLine::ForCurrentProcess()->AppendSwitch(
+ switches::kEnableExperimentalExtensionApis);
Matt Perry 2013/02/28 20:28:45 What is this for? APIs that need the experimental
Sergey Ulanov 2013/03/01 03:15:30 It wasn't working without this flag. It refuses to
Matt Perry 2013/03/01 20:31:13 What error message does it give you? Features mark
Sergey Ulanov 2013/03/01 20:55:19 Tried without this flag and it works fine now. I t
+ CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kEnableNativeMessaging);
std::string hosts_option = base::StringPrintf(

Powered by Google App Engine
This is Rietveld 408576698