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

Unified Diff: chrome/browser/about_flags.cc

Issue 6882021: Wrap the p2p transport API in a compile time flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 8 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/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index a21b96654d22bb439db3d10d5a083b4b5b968160..5f243f94b5b4c32801765bb6293c7d33aa67aa43 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -237,7 +237,11 @@ const Experiment kExperiments[] = {
IDS_FLAGS_P2P_API_NAME,
IDS_FLAGS_P2P_API_DESCRIPTION,
kOsAll,
+#if defined(ENABLE_P2P_APIS)
SINGLE_VALUE_TYPE(switches::kEnableP2PApi)
+#else
+ SINGLE_VALUE_TYPE("")
+#endif
},
{
"focus-existing-tab-on-open", // FLAGS:RECORD_UMA
« no previous file with comments | « build/common.gypi ('k') | chrome/chrome_tests.gypi » ('j') | content/common/content_switches.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698