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 1533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 SigninManager* signin_manager = | 1544 SigninManager* signin_manager = |
1545 SigninManagerFactory::GetForProfile(profile); | 1545 SigninManagerFactory::GetForProfile(profile); |
1546 if (signin_manager && signin_manager->IsSigninProcess(process->GetID())) | 1546 if (signin_manager && signin_manager->IsSigninProcess(process->GetID())) |
1547 command_line->AppendSwitch(switches::kSigninProcess); | 1547 command_line->AppendSwitch(switches::kSigninProcess); |
1548 #endif | 1548 #endif |
1549 } | 1549 } |
1550 | 1550 |
1551 // Please keep this in alphabetical order. | 1551 // Please keep this in alphabetical order. |
1552 static const char* const kSwitchNames[] = { | 1552 static const char* const kSwitchNames[] = { |
1553 autofill::switches::kDisableIgnoreAutocompleteOff, | 1553 autofill::switches::kDisableIgnoreAutocompleteOff, |
1554 autofill::switches::kDisableInteractiveAutocomplete, | |
1555 autofill::switches::kDisablePasswordGeneration, | 1554 autofill::switches::kDisablePasswordGeneration, |
1556 autofill::switches::kEnableInteractiveAutocomplete, | |
1557 autofill::switches::kEnablePasswordGeneration, | 1555 autofill::switches::kEnablePasswordGeneration, |
1558 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, | 1556 autofill::switches::kLocalHeuristicsOnlyForPasswordGeneration, |
1559 extensions::switches::kAllowHTTPBackgroundPage, | 1557 extensions::switches::kAllowHTTPBackgroundPage, |
1560 extensions::switches::kAllowLegacyExtensionManifests, | 1558 extensions::switches::kAllowLegacyExtensionManifests, |
1561 extensions::switches::kEnableExperimentalExtensionApis, | 1559 extensions::switches::kEnableExperimentalExtensionApis, |
1562 extensions::switches::kExtensionsOnChromeURLs, | 1560 extensions::switches::kExtensionsOnChromeURLs, |
1563 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO | 1561 // TODO(victorhsieh): remove the following flag once we move PPAPI FileIO |
1564 // to browser. | 1562 // to browser. |
1565 switches::kAllowNaClFileHandleAPI, | 1563 switches::kAllowNaClFileHandleAPI, |
1566 switches::kAppsCheckoutURL, | 1564 switches::kAppsCheckoutURL, |
(...skipping 1168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2735 switches::kDisableWebRtcEncryption, | 2733 switches::kDisableWebRtcEncryption, |
2736 }; | 2734 }; |
2737 to_command_line->CopySwitchesFrom(from_command_line, | 2735 to_command_line->CopySwitchesFrom(from_command_line, |
2738 kWebRtcDevSwitchNames, | 2736 kWebRtcDevSwitchNames, |
2739 arraysize(kWebRtcDevSwitchNames)); | 2737 arraysize(kWebRtcDevSwitchNames)); |
2740 } | 2738 } |
2741 } | 2739 } |
2742 #endif // defined(ENABLE_WEBRTC) | 2740 #endif // defined(ENABLE_WEBRTC) |
2743 | 2741 |
2744 } // namespace chrome | 2742 } // namespace chrome |
OLD | NEW |