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

Side by Side Diff: components/spellcheck/common/spellcheck_switches.cc

Issue 2166683003: Componentize spellcheck [1]: create component and move switches there. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + --no-find-copies Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/spellcheck/common/spellcheck_switches.h ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "build/build_config.h"
6 #include "components/spellcheck/common/spellcheck_switches.h"
7
8 namespace spellcheck {
9 namespace switches {
10
11 #if defined(ENABLE_SPELLCHECK)
12 #if defined(OS_ANDROID)
13 // Enables use of the Android spellchecker.
14 const char kEnableAndroidSpellChecker[] = "enable-android-spellchecker";
15 #endif // defined(OS_ANDROID)
16
17 // Enables participation in the field trial for user feedback to spelling
18 // service.
19 const char kEnableSpellingFeedbackFieldTrial[] =
20 "enable-spelling-feedback-field-trial";
21
22 // Specifies the number of seconds between sending batches of feedback to
23 // spelling service. The default is 30 minutes. The minimum is 5 seconds. This
24 // switch is for temporary testing only.
25 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by
26 // August 2013.
27 const char kSpellingServiceFeedbackIntervalSeconds[] =
28 "spelling-service-feedback-interval-seconds";
29
30 // Specifies the URL where spelling service feedback data will be sent instead
31 // of the default URL. This switch is for temporary testing only.
32 // TODO(rouslan): Remove this flag when feedback testing is complete. Revisit by
33 // August 2013.
34 const char kSpellingServiceFeedbackUrl[] = "spelling-service-feedback-url";
35 #endif // defined(ENABLE_SPELLCHECK)
36
37 } // namespace switches
38 } // namespace spellcheck
OLDNEW
« no previous file with comments | « components/spellcheck/common/spellcheck_switches.h ('k') | ios/chrome/ios_chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698