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 1523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1534 #if !defined(OS_CHROMEOS) | 1534 #if !defined(OS_CHROMEOS) |
1535 SigninManager* signin_manager = | 1535 SigninManager* signin_manager = |
1536 SigninManagerFactory::GetForProfile(profile); | 1536 SigninManagerFactory::GetForProfile(profile); |
1537 if (signin_manager && signin_manager->IsSigninProcess(process->GetID())) | 1537 if (signin_manager && signin_manager->IsSigninProcess(process->GetID())) |
1538 command_line->AppendSwitch(switches::kSigninProcess); | 1538 command_line->AppendSwitch(switches::kSigninProcess); |
1539 #endif | 1539 #endif |
1540 } | 1540 } |
1541 | 1541 |
1542 // Please keep this in alphabetical order. | 1542 // Please keep this in alphabetical order. |
1543 static const char* const kSwitchNames[] = { | 1543 static const char* const kSwitchNames[] = { |
| 1544 autofill::switches::kDisableIgnoreAutocompleteOff, |
1544 autofill::switches::kDisableInteractiveAutocomplete, | 1545 autofill::switches::kDisableInteractiveAutocomplete, |
1545 autofill::switches::kDisablePasswordGeneration, | 1546 autofill::switches::kDisablePasswordGeneration, |
1546 autofill::switches::kEnableIgnoreAutocompleteOff, | |
1547 autofill::switches::kEnableInteractiveAutocomplete, | 1547 autofill::switches::kEnableInteractiveAutocomplete, |
1548 autofill::switches::kEnablePasswordGeneration, | 1548 autofill::switches::kEnablePasswordGeneration, |
1549 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1549 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1550 extensions::switches::kAllowHTTPBackgroundPage, | 1550 extensions::switches::kAllowHTTPBackgroundPage, |
1551 extensions::switches::kAllowLegacyExtensionManifests, | 1551 extensions::switches::kAllowLegacyExtensionManifests, |
1552 extensions::switches::kAllowScriptingGallery, | 1552 extensions::switches::kAllowScriptingGallery, |
1553 extensions::switches::kEnableExperimentalExtensionApis, | 1553 extensions::switches::kEnableExperimentalExtensionApis, |
1554 extensions::switches::kExtensionsOnChromeURLs, | 1554 extensions::switches::kExtensionsOnChromeURLs, |
1555 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO | 1555 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO |
1556 // to browser. | 1556 // to browser. |
(...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2700 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on | 2700 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on |
2701 // Chromium builds as well. | 2701 // Chromium builds as well. |
2702 return channel <= chrome::VersionInfo::CHANNEL_DEV; | 2702 return channel <= chrome::VersionInfo::CHANNEL_DEV; |
2703 #else | 2703 #else |
2704 return false; | 2704 return false; |
2705 #endif | 2705 #endif |
2706 } | 2706 } |
2707 | 2707 |
2708 | 2708 |
2709 } // namespace chrome | 2709 } // namespace chrome |
OLD | NEW |