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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 2284583002: [Android] Add AndroidSpellChecker feature to allow for gradual rollout using finch. (Closed)
Patch Set: fix compile Created 4 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 #include "components/error_page/common/error_page_switches.h" 126 #include "components/error_page/common/error_page_switches.h"
127 #include "components/google/core/browser/google_util.h" 127 #include "components/google/core/browser/google_util.h"
128 #include "components/metrics/client_info.h" 128 #include "components/metrics/client_info.h"
129 #include "components/net_log/chrome_net_log.h" 129 #include "components/net_log/chrome_net_log.h"
130 #include "components/pref_registry/pref_registry_syncable.h" 130 #include "components/pref_registry/pref_registry_syncable.h"
131 #include "components/prefs/pref_service.h" 131 #include "components/prefs/pref_service.h"
132 #include "components/prefs/scoped_user_pref_update.h" 132 #include "components/prefs/scoped_user_pref_update.h"
133 #include "components/rappor/rappor_utils.h" 133 #include "components/rappor/rappor_utils.h"
134 #include "components/security_interstitials/core/ssl_error_ui.h" 134 #include "components/security_interstitials/core/ssl_error_ui.h"
135 #include "components/signin/core/common/profile_management_switches.h" 135 #include "components/signin/core/common/profile_management_switches.h"
136 #include "components/spellcheck/common/spellcheck_switches.h"
137 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h" 136 #include "components/startup_metric_utils/browser/startup_metric_host_impl.h"
138 #include "components/subresource_filter/content/browser/content_subresource_filt er_driver_factory.h" 137 #include "components/subresource_filter/content/browser/content_subresource_filt er_driver_factory.h"
139 #include "components/subresource_filter/content/browser/subresource_filter_navig ation_throttle.h" 138 #include "components/subresource_filter/content/browser/subresource_filter_navig ation_throttle.h"
140 #include "components/translate/core/common/translate_switches.h" 139 #include "components/translate/core/common/translate_switches.h"
141 #include "components/url_formatter/url_fixer.h" 140 #include "components/url_formatter/url_fixer.h"
142 #include "components/variations/variations_associated_data.h" 141 #include "components/variations/variations_associated_data.h"
143 #include "components/version_info/version_info.h" 142 #include "components/version_info/version_info.h"
144 #include "content/public/browser/browser_child_process_host.h" 143 #include "content/public/browser/browser_child_process_host.h"
145 #include "content/public/browser/browser_main_parts.h" 144 #include "content/public/browser/browser_main_parts.h"
146 #include "content/public/browser/browser_ppapi_host.h" 145 #include "content/public/browser/browser_ppapi_host.h"
(...skipping 1494 matching lines...) Expand 10 before | Expand all | Expand 10 after
1641 extensions::switches::kWhitelistedExtensionID, 1640 extensions::switches::kWhitelistedExtensionID,
1642 #endif 1641 #endif
1643 switches::kAllowInsecureLocalhost, 1642 switches::kAllowInsecureLocalhost,
1644 switches::kAppsGalleryURL, 1643 switches::kAppsGalleryURL,
1645 switches::kCloudPrintURL, 1644 switches::kCloudPrintURL,
1646 switches::kCloudPrintXmppEndpoint, 1645 switches::kCloudPrintXmppEndpoint,
1647 switches::kDisableBundledPpapiFlash, 1646 switches::kDisableBundledPpapiFlash,
1648 switches::kDisableCastStreamingHWEncoding, 1647 switches::kDisableCastStreamingHWEncoding,
1649 switches::kDisableJavaScriptHarmonyShipping, 1648 switches::kDisableJavaScriptHarmonyShipping,
1650 switches::kDisableNewBookmarkApps, 1649 switches::kDisableNewBookmarkApps,
1651 #if defined(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
1652 spellcheck::switches::kEnableAndroidSpellChecker,
1653 #endif
1654 switches::kEnableBenchmarking, 1650 switches::kEnableBenchmarking,
1655 switches::kEnableNaCl, 1651 switches::kEnableNaCl,
1656 #if !defined(DISABLE_NACL) 1652 #if !defined(DISABLE_NACL)
1657 switches::kEnableNaClDebug, 1653 switches::kEnableNaClDebug,
1658 switches::kEnableNaClNonSfiMode, 1654 switches::kEnableNaClNonSfiMode,
1659 #endif 1655 #endif
1660 switches::kEnableNetBenchmarking, 1656 switches::kEnableNetBenchmarking,
1661 switches::kEnableNewBookmarkApps, 1657 switches::kEnableNewBookmarkApps,
1662 #if !defined(DISABLE_NACL) 1658 #if !defined(DISABLE_NACL)
1663 switches::kForcePNaClSubzero, 1659 switches::kForcePNaClSubzero,
(...skipping 1493 matching lines...) Expand 10 before | Expand all | Expand 10 after
3157 if (channel <= kMaxDisableEncryptionChannel) { 3153 if (channel <= kMaxDisableEncryptionChannel) {
3158 static const char* const kWebRtcDevSwitchNames[] = { 3154 static const char* const kWebRtcDevSwitchNames[] = {
3159 switches::kDisableWebRtcEncryption, 3155 switches::kDisableWebRtcEncryption,
3160 }; 3156 };
3161 to_command_line->CopySwitchesFrom(from_command_line, 3157 to_command_line->CopySwitchesFrom(from_command_line,
3162 kWebRtcDevSwitchNames, 3158 kWebRtcDevSwitchNames,
3163 arraysize(kWebRtcDevSwitchNames)); 3159 arraysize(kWebRtcDevSwitchNames));
3164 } 3160 }
3165 } 3161 }
3166 #endif // defined(ENABLE_WEBRTC) 3162 #endif // defined(ENABLE_WEBRTC)
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | components/spellcheck/browser/spellcheck_platform_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698