Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(403)

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 11193052: Add flags for new Autofill work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simpler Android code path Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 456 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
457 457
458 // Enables the experimental asynchronous DNS client. 458 // Enables the experimental asynchronous DNS client.
459 const char kEnableAsyncDns[] = "enable-async-dns"; 459 const char kEnableAsyncDns[] = "enable-async-dns";
460 460
461 // Enables the inclusion of non-standard ports when generating the Kerberos SPN 461 // Enables the inclusion of non-standard ports when generating the Kerberos SPN
462 // in response to a Negotiate challenge. See 462 // in response to a Negotiate challenge. See
463 // HttpAuthHandlerNegotiate::CreateSPN for more background. 463 // HttpAuthHandlerNegotiate::CreateSPN for more background.
464 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 464 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
465 465
466 // With this flag set, Chrome will occasionally prompt the user to volunteer
467 // Autofill usage data beyond what is collected by default. This is data that
468 // we expect to be helpful for debugging, but that we do not want to send up
469 // automatically due to privacy concerns.
470 const char kEnableAutofillFeedback[] = "enable-autofill-feedback";
471
472 // Enables the pre- and auto-login features. When a user signs in to sync, the 466 // Enables the pre- and auto-login features. When a user signs in to sync, the
473 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a 467 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a
474 // GAIA login page, an info bar can help the user login. 468 // GAIA login page, an info bar can help the user login.
475 const char kEnableAutologin[] = "enable-autologin"; 469 const char kEnableAutologin[] = "enable-autologin";
476 470
477 // Enables the benchmarking extensions. 471 // Enables the benchmarking extensions.
478 const char kEnableBenchmarking[] = "enable-benchmarking"; 472 const char kEnableBenchmarking[] = "enable-benchmarking";
479 473
480 // Enables the bundled PPAPI version of Flash. 474 // Enables the bundled PPAPI version of Flash.
481 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash"; 475 const char kEnableBundledPpapiFlash[] = "enable-bundled-ppapi-flash";
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 583
590 // Enables the Chrome IPC-based Proxy for NaCl. 584 // Enables the Chrome IPC-based Proxy for NaCl.
591 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy"; 585 const char kEnableNaClIPCProxy[] = "enable-nacl-ipc-proxy";
592 586
593 // Enables hardware exception handling via debugger process. 587 // Enables hardware exception handling via debugger process.
594 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling"; 588 const char kEnableNaClExceptionHandling[] = "enable-nacl-exception-handling";
595 589
596 // Enables the native messaging extensions API. 590 // Enables the native messaging extensions API.
597 const char kEnableNativeMessaging[] = "enable-native-messaging"; 591 const char kEnableNativeMessaging[] = "enable-native-messaging";
598 592
593 // Enables the new Autofill UI, which is part of the browser process rather than
Nico 2012/10/23 21:47:33 If you're doing a new autofill UI, you should have
Ilya Sherman 2012/10/23 21:58:08 Done.
594 // part of the renderer process.
595 const char kEnableNewAutofillUi[] = "enable-new-autofill-ui";
596
597 // Enables new Autofill heuristics, such as adding support for new field types.
598 const char kEnableNewAutofillHeuristics[] = "enable-new-autofill-heuristics";
599
599 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY. 600 // Enables NPN and SPDY. In case server supports SPDY, browser will use SPDY.
600 const char kEnableNpn[] = "enable-npn"; 601 const char kEnableNpn[] = "enable-npn";
601 602
602 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used. 603 // Enables NPN with HTTP. It means NPN is enabled but SPDY won't be used.
603 // HTTP is still used for all requests. 604 // HTTP is still used for all requests.
604 const char kEnableNpnHttpOnly[] = "enable-npn-http"; 605 const char kEnableNpnHttpOnly[] = "enable-npn-http";
605 606
606 // Enables panels (always on-top docked pop-up windows). 607 // Enables panels (always on-top docked pop-up windows).
607 const char kEnablePanels[] = "enable-panels"; 608 const char kEnablePanels[] = "enable-panels";
608 609
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 // The time in seconds that an extension event page has between being notified 689 // The time in seconds that an extension event page has between being notified
689 // of its impending unload and that unload happening. 690 // of its impending unload and that unload happening.
690 const char kEventPageUnloadingTime[] = "event-page-unloading-time"; 691 const char kEventPageUnloadingTime[] = "event-page-unloading-time";
691 692
692 // Marks a renderer as extension process. 693 // Marks a renderer as extension process.
693 const char kExtensionProcess[] = "extension-process"; 694 const char kExtensionProcess[] = "extension-process";
694 695
695 // Frequency in seconds for Extensions auto-update. 696 // Frequency in seconds for Extensions auto-update.
696 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 697 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
697 698
698 // Should we use an external Autofill popup? Default is no.
699 const char kExternalAutofillPopup[] = "external-autofill-popup";
700
701 // These two flags are added around the switches about:flags adds to the 699 // These two flags are added around the switches about:flags adds to the
702 // command line. This is useful to see which switches were added by about:flags 700 // command line. This is useful to see which switches were added by about:flags
703 // on about:version. They don't have any effect. 701 // on about:version. They don't have any effect.
704 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 702 const char kFlagSwitchesBegin[] = "flag-switches-begin";
705 const char kFlagSwitchesEnd[] = "flag-switches-end"; 703 const char kFlagSwitchesEnd[] = "flag-switches-end";
706 704
707 // Alternative feedback server to use when submitting user feedback 705 // Alternative feedback server to use when submitting user feedback
708 const char kFeedbackServer[] = "feedback-server"; 706 const char kFeedbackServer[] = "feedback-server";
709 707
710 // The file descriptor limit is set to the value of this switch, subject to the 708 // The file descriptor limit is set to the value of this switch, subject to the
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1591 return true; 1589 return true;
1592 #elif defined(OS_WIN) 1590 #elif defined(OS_WIN)
1593 return true; 1591 return true;
1594 #else 1592 #else
1595 return CommandLine::ForCurrentProcess()->HasSwitch( 1593 return CommandLine::ForCurrentProcess()->HasSwitch(
1596 switches::kEnableFramelessConstrainedDialogs); 1594 switches::kEnableFramelessConstrainedDialogs);
1597 #endif 1595 #endif
1598 } 1596 }
1599 1597
1600 } // namespace chrome 1598 } // namespace chrome
OLDNEW
« chrome/app/generated_resources.grd ('K') | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698