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

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

Issue 11150002: New post-sideload UI: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed unit tests, disable on chromeos, feature switch 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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 689
690 // Marks a renderer as extension process. 690 // Marks a renderer as extension process.
691 const char kExtensionProcess[] = "extension-process"; 691 const char kExtensionProcess[] = "extension-process";
692 692
693 // Frequency in seconds for Extensions auto-update. 693 // Frequency in seconds for Extensions auto-update.
694 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency"; 694 const char kExtensionsUpdateFrequency[] = "extensions-update-frequency";
695 695
696 // Should we use an external Autofill popup? Default is no. 696 // Should we use an external Autofill popup? Default is no.
697 const char kExternalAutofillPopup[] = "external-autofill-popup"; 697 const char kExternalAutofillPopup[] = "external-autofill-popup";
698 698
699 // Should we prompt the user before allowing external extensions to install?
700 // Default is yes.
701 const char kExternalExtensionPrompt[] = "external-extension-prompt";
Yoyo Zhou 2012/10/16 23:28:05 naming nit: I would like prompt-for-external-exten
Matt Perry 2012/10/17 00:02:44 Done.
702
699 // These two flags are added around the switches about:flags adds to the 703 // These two flags are added around the switches about:flags adds to the
700 // command line. This is useful to see which switches were added by about:flags 704 // command line. This is useful to see which switches were added by about:flags
701 // on about:version. They don't have any effect. 705 // on about:version. They don't have any effect.
702 const char kFlagSwitchesBegin[] = "flag-switches-begin"; 706 const char kFlagSwitchesBegin[] = "flag-switches-begin";
703 const char kFlagSwitchesEnd[] = "flag-switches-end"; 707 const char kFlagSwitchesEnd[] = "flag-switches-end";
704 708
705 // Alternative feedback server to use when submitting user feedback 709 // Alternative feedback server to use when submitting user feedback
706 const char kFeedbackServer[] = "feedback-server"; 710 const char kFeedbackServer[] = "feedback-server";
707 711
708 // The file descriptor limit is set to the value of this switch, subject to the 712 // The file descriptor limit is set to the value of this switch, subject to the
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
1603 return true; 1607 return true;
1604 #elif defined(OS_WIN) 1608 #elif defined(OS_WIN)
1605 return true; 1609 return true;
1606 #else 1610 #else
1607 return CommandLine::ForCurrentProcess()->HasSwitch( 1611 return CommandLine::ForCurrentProcess()->HasSwitch(
1608 switches::kEnableFramelessConstrainedDialogs); 1612 switches::kEnableFramelessConstrainedDialogs);
1609 #endif 1613 #endif
1610 } 1614 }
1611 1615
1612 } // namespace chrome 1616 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698