| 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 <set> | 7 #include <set> |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1496 // Please keep this in alphabetical order. | 1496 // Please keep this in alphabetical order. |
| 1497 static const char* const kSwitchNames[] = { | 1497 static const char* const kSwitchNames[] = { |
| 1498 autofill::switches::kDisableInteractiveAutocomplete, | 1498 autofill::switches::kDisableInteractiveAutocomplete, |
| 1499 autofill::switches::kDisablePasswordGeneration, | 1499 autofill::switches::kDisablePasswordGeneration, |
| 1500 autofill::switches::kEnableExperimentalFormFilling, | 1500 autofill::switches::kEnableExperimentalFormFilling, |
| 1501 autofill::switches::kEnableInteractiveAutocomplete, | 1501 autofill::switches::kEnableInteractiveAutocomplete, |
| 1502 autofill::switches::kEnablePasswordGeneration, | 1502 autofill::switches::kEnablePasswordGeneration, |
| 1503 autofill::switches::kNoAutofillNecessaryForPasswordGeneration, | 1503 autofill::switches::kNoAutofillNecessaryForPasswordGeneration, |
| 1504 extensions::switches::kAllowLegacyExtensionManifests, | 1504 extensions::switches::kAllowLegacyExtensionManifests, |
| 1505 extensions::switches::kAllowScriptingGallery, | 1505 extensions::switches::kAllowScriptingGallery, |
| 1506 extensions::switches::kAppsGalleryURL, |
| 1506 extensions::switches::kEnableExperimentalExtensionApis, | 1507 extensions::switches::kEnableExperimentalExtensionApis, |
| 1507 extensions::switches::kExtensionsOnChromeURLs, | 1508 extensions::switches::kExtensionsOnChromeURLs, |
| 1508 switches::kAllowHTTPBackgroundPage, | 1509 switches::kAllowHTTPBackgroundPage, |
| 1509 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO | 1510 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO |
| 1510 // to browser. | 1511 // to browser. |
| 1511 switches::kAllowNaClFileHandleAPI, | 1512 switches::kAllowNaClFileHandleAPI, |
| 1512 switches::kAppsCheckoutURL, | 1513 switches::kAppsCheckoutURL, |
| 1513 switches::kAppsGalleryURL, | |
| 1514 switches::kCloudPrintServiceURL, | 1514 switches::kCloudPrintServiceURL, |
| 1515 switches::kDebugPrint, | 1515 switches::kDebugPrint, |
| 1516 switches::kDisableBundledPpapiFlash, | 1516 switches::kDisableBundledPpapiFlash, |
| 1517 switches::kDisableExtensionsResourceWhitelist, | 1517 switches::kDisableExtensionsResourceWhitelist, |
| 1518 switches::kDisablePnacl, | 1518 switches::kDisablePnacl, |
| 1519 switches::kDisableScriptedPrintThrottling, | 1519 switches::kDisableScriptedPrintThrottling, |
| 1520 switches::kEnableAdview, | 1520 switches::kEnableAdview, |
| 1521 switches::kEnableAdviewSrcAttribute, | 1521 switches::kEnableAdviewSrcAttribute, |
| 1522 switches::kEnableAppWindowControls, | 1522 switches::kEnableAppWindowControls, |
| 1523 switches::kEnableBenchmarking, | 1523 switches::kEnableBenchmarking, |
| (...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2644 return IsExtensionOrSharedModuleWhitelisted(url, extension_set, | 2644 return IsExtensionOrSharedModuleWhitelisted(url, extension_set, |
| 2645 allowed_file_handle_origins_) || | 2645 allowed_file_handle_origins_) || |
| 2646 IsHostAllowedByCommandLine(url, extension_set, | 2646 IsHostAllowedByCommandLine(url, extension_set, |
| 2647 switches::kAllowNaClFileHandleAPI); | 2647 switches::kAllowNaClFileHandleAPI); |
| 2648 #else | 2648 #else |
| 2649 return false; | 2649 return false; |
| 2650 #endif | 2650 #endif |
| 2651 } | 2651 } |
| 2652 | 2652 |
| 2653 } // namespace chrome | 2653 } // namespace chrome |
| OLD | NEW |