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 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3359 *index_to_traits_callback = base::Bind(&task_scheduler_util::initialization:: | 3358 *index_to_traits_callback = base::Bind(&task_scheduler_util::initialization:: |
3360 BrowserWorkerPoolIndexForTraits); | 3359 BrowserWorkerPoolIndexForTraits); |
3361 } | 3360 } |
3362 | 3361 |
3363 void ChromeContentBrowserClient:: | 3362 void ChromeContentBrowserClient:: |
3364 PerformExperimentalTaskSchedulerRedirections() { | 3363 PerformExperimentalTaskSchedulerRedirections() { |
3365 task_scheduler_util::variations:: | 3364 task_scheduler_util::variations:: |
3366 MaybePerformBrowserTaskSchedulerRedirection(); | 3365 MaybePerformBrowserTaskSchedulerRedirection(); |
3367 } | 3366 } |
3368 | 3367 |
3369 //static | 3368 // static |
3370 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( | 3369 void ChromeContentBrowserClient::SetDefaultQuotaSettingsForTesting( |
3371 const storage::QuotaSettings* settings) { | 3370 const storage::QuotaSettings* settings) { |
3372 g_default_quota_settings = settings; | 3371 g_default_quota_settings = settings; |
3373 } | 3372 } |
OLD | NEW |