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

Unified Diff: content/common/content_switches.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: content/common/content_switches.cc
diff --git a/content/common/content_switches.cc b/content/common/content_switches.cc
index b6e64e6c143040bca3ed1e4e6b11e383c83217ac..3c7a6c8f5910f8706b2807e3b17daf62f91be182 100644
--- a/content/common/content_switches.cc
+++ b/content/common/content_switches.cc
@@ -142,8 +142,10 @@ const char kEnableLogging[] = "enable-logging";
// assumed to be sRGB.
const char kEnableMonitorProfile[] = "enable-monitor-profile";
+#if defined(ENABLE_P2P_APIS)
brettw 2011/04/20 15:41:33 Please put ifdefed stuff at the bottom of the file
// Enable Pepper and JavaScript P2P API.
const char kEnableP2PApi[] = "enable-p2papi";
+#endif
// Enable caching of pre-parsed JS script data. See http://crbug.com/32407.
const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching";

Powered by Google App Engine
This is Rietveld 408576698