| 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 1719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1730 #endif | 1730 #endif |
| 1731 autofill::switches::kDisablePasswordGeneration, | 1731 autofill::switches::kDisablePasswordGeneration, |
| 1732 autofill::switches::kEnablePasswordGeneration, | 1732 autofill::switches::kEnablePasswordGeneration, |
| 1733 autofill::switches::kEnableSingleClickAutofill, | 1733 autofill::switches::kEnableSingleClickAutofill, |
| 1734 autofill::switches::kEnableSuggestionsWithSubstringMatch, | 1734 autofill::switches::kEnableSuggestionsWithSubstringMatch, |
| 1735 autofill::switches::kIgnoreAutocompleteOffForAutofill, | 1735 autofill::switches::kIgnoreAutocompleteOffForAutofill, |
| 1736 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1736 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
| 1737 #if BUILDFLAG(ENABLE_EXTENSIONS) | 1737 #if BUILDFLAG(ENABLE_EXTENSIONS) |
| 1738 extensions::switches::kAllowHTTPBackgroundPage, | 1738 extensions::switches::kAllowHTTPBackgroundPage, |
| 1739 extensions::switches::kAllowLegacyExtensionManifests, | 1739 extensions::switches::kAllowLegacyExtensionManifests, |
| 1740 extensions::switches::kEnableAppWindowControls, | |
| 1741 extensions::switches::kEnableEmbeddedExtensionOptions, | 1740 extensions::switches::kEnableEmbeddedExtensionOptions, |
| 1742 extensions::switches::kEnableExperimentalExtensionApis, | 1741 extensions::switches::kEnableExperimentalExtensionApis, |
| 1743 extensions::switches::kExtensionsOnChromeURLs, | 1742 extensions::switches::kExtensionsOnChromeURLs, |
| 1744 extensions::switches::kIsolateExtensions, | 1743 extensions::switches::kIsolateExtensions, |
| 1745 extensions::switches::kNativeCrxBindings, | 1744 extensions::switches::kNativeCrxBindings, |
| 1746 extensions::switches::kWhitelistedExtensionID, | 1745 extensions::switches::kWhitelistedExtensionID, |
| 1747 #endif | 1746 #endif |
| 1748 switches::kAllowInsecureLocalhost, | 1747 switches::kAllowInsecureLocalhost, |
| 1749 switches::kAppsGalleryURL, | 1748 switches::kAppsGalleryURL, |
| 1750 switches::kCloudPrintURL, | 1749 switches::kCloudPrintURL, |
| (...skipping 1623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3374 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 3373 RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
| 3375 return variations::GetVariationParamValue( | 3374 return variations::GetVariationParamValue( |
| 3376 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; | 3375 "BrowserScheduler", "RedirectNonUINonIOBrowserThreads") == "true"; |
| 3377 } | 3376 } |
| 3378 | 3377 |
| 3379 // static | 3378 // static |
| 3380 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( | 3379 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( |
| 3381 const storage::QuotaSettings* settings) { | 3380 const storage::QuotaSettings* settings) { |
| 3382 g_default_quota_settings = settings; | 3381 g_default_quota_settings = settings; |
| 3383 } | 3382 } |
| OLD | NEW |