OLD | NEW |
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 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1878 MaybeAppendBlinkSettingsSwitchForFieldTrial( | 1878 MaybeAppendBlinkSettingsSwitchForFieldTrial( |
1879 browser_command_line, command_line); | 1879 browser_command_line, command_line); |
1880 | 1880 |
1881 #if defined(OS_ANDROID) | 1881 #if defined(OS_ANDROID) |
1882 // If the platform is Android, force the distillability service on. | 1882 // If the platform is Android, force the distillability service on. |
1883 command_line->AppendSwitch(switches::kEnableDistillabilityService); | 1883 command_line->AppendSwitch(switches::kEnableDistillabilityService); |
1884 #endif | 1884 #endif |
1885 | 1885 |
1886 // Please keep this in alphabetical order. | 1886 // Please keep this in alphabetical order. |
1887 static const char* const kSwitchNames[] = { | 1887 static const char* const kSwitchNames[] = { |
1888 #if defined(OS_ANDROID) | |
1889 autofill::switches::kDisableAccessorySuggestionView, | |
1890 autofill::switches::kEnableAccessorySuggestionView, | |
1891 #endif | |
1892 autofill::switches::kDisablePasswordGeneration, | 1888 autofill::switches::kDisablePasswordGeneration, |
1893 autofill::switches::kEnablePasswordGeneration, | 1889 autofill::switches::kEnablePasswordGeneration, |
1894 autofill::switches::kEnableSingleClickAutofill, | 1890 autofill::switches::kEnableSingleClickAutofill, |
1895 autofill::switches::kEnableSuggestionsWithSubstringMatch, | 1891 autofill::switches::kEnableSuggestionsWithSubstringMatch, |
1896 autofill::switches::kIgnoreAutocompleteOffForAutofill, | 1892 autofill::switches::kIgnoreAutocompleteOffForAutofill, |
1897 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1893 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1898 autofill::switches::kShowAutofillSignatures, | 1894 autofill::switches::kShowAutofillSignatures, |
1899 #if BUILDFLAG(ENABLE_EXTENSIONS) | 1895 #if BUILDFLAG(ENABLE_EXTENSIONS) |
1900 extensions::switches::kAllowHTTPBackgroundPage, | 1896 extensions::switches::kAllowHTTPBackgroundPage, |
1901 extensions::switches::kAllowLegacyExtensionManifests, | 1897 extensions::switches::kAllowLegacyExtensionManifests, |
(...skipping 1707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3609 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 3605 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
3610 return variations::GetVariationParamValue( | 3606 return variations::GetVariationParamValue( |
3611 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 3607 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
3612 } | 3608 } |
3613 | 3609 |
3614 // static | 3610 // static |
3615 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( | 3611 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( |
3616 const storage::QuotaSettings* settings) { | 3612 const storage::QuotaSettings* settings) { |
3617 g_default_quota_settings = settings; | 3613 g_default_quota_settings = settings; |
3618 } | 3614 } |
OLD | NEW |