Index: chrome/common/chrome_switches.cc |
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc |
index c3ab8ce888a390eef33f0dbd1d9faa1ed553f59d..2f6dcace4dd3de92d5d541364e27cb7cef19c1e9 100644 |
--- a/chrome/common/chrome_switches.cc |
+++ b/chrome/common/chrome_switches.cc |
@@ -590,14 +590,6 @@ const char kDisableSettingsWindow[] = "disable-settings-window"; |
// Enable SPDY/4, aka HTTP/2. This is a temporary testing flag. |
const char kEnableSpdy4[] = "enable-spdy4"; |
-// Enables auto correction for misspelled words. |
-const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
- |
-// Enables participation in the field trial for user feedback to spelling |
-// service. |
-const char kEnableSpellingFeedbackFieldTrial[] = |
- "enable-spelling-feedback-field-trial"; |
- |
// Enables a feature that holds back some SSLConnectJobs in order to |
// minimize the number of full SSL handshakes completed. |
const char kEnableSSLConnectJobWaiting[] = "enable-ssl-connect-job-waiting"; |
@@ -1111,6 +1103,15 @@ const char kSpeculativeResourcePrefetchingLearning[] = "learning"; |
// Speculative resource prefetching is enabled. |
const char kSpeculativeResourcePrefetchingEnabled[] = "enabled"; |
+#if defined(ENABLE_SPELLCHECK) |
+// Enables auto correction for misspelled words. |
+const char kEnableSpellingAutoCorrect[] = "enable-spelling-auto-correct"; |
+ |
+// Enables participation in the field trial for user feedback to spelling |
+// service. |
+const char kEnableSpellingFeedbackFieldTrial[] = |
+ "enable-spelling-feedback-field-trial"; |
+ |
// Specifies the URL where spelling service feedback data will be sent instead |
// of the default URL. This switch is for temporary testing only. |
// TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by |
@@ -1124,6 +1125,7 @@ const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url"; |
// August 2013. |
const char kSpellingServiceFeedbackIntervalSeconds[] = |
"spelling-service-feedback-interval-seconds"; |
+#endif |
// Specifies the maximum SSL/TLS version ("ssl3", "tls1", "tls1.1", or |
// "tls1.2"). |