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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 11418291: Adding about:flags option to enable guest mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator> 8 #include <iterator>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after
870 SINGLE_VALUE_TYPE(switches::kEnableTouchpadThreeFingerSwipe) 870 SINGLE_VALUE_TYPE(switches::kEnableTouchpadThreeFingerSwipe)
871 }, 871 },
872 #endif 872 #endif
873 { 873 {
874 "use-web-based-signin-flow", 874 "use-web-based-signin-flow",
875 IDS_FLAGS_USE_WEB_BASED_SIGNIN_FLOW_NAME, 875 IDS_FLAGS_USE_WEB_BASED_SIGNIN_FLOW_NAME,
876 IDS_FLAGS_USE_WEB_BASED_SIGNIN_FLOW_DESCRIPTION, 876 IDS_FLAGS_USE_WEB_BASED_SIGNIN_FLOW_DESCRIPTION,
877 kOsMac | kOsWin | kOsLinux, 877 kOsMac | kOsWin | kOsLinux,
878 SINGLE_VALUE_TYPE(switches::kUseWebBasedSigninFlow) 878 SINGLE_VALUE_TYPE(switches::kUseWebBasedSigninFlow)
879 }, 879 },
880 {
881 "enable-desktop-guest-mode",
882 IDS_FLAGS_DESKTOP_GUEST_MODE_NAME,
883 IDS_FLAGS_DESKTOP_GUEST_MODE_DESCRIPTION,
884 kOsMac | kOsWin | kOsLinux,
885 SINGLE_VALUE_TYPE(switches::kEnableDesktopGuestMode)
886 },
880 #if defined(USE_ASH) 887 #if defined(USE_ASH)
881 { 888 {
882 "show-launcher-alignment-menu", 889 "show-launcher-alignment-menu",
883 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_NAME, 890 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_NAME,
884 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_DESCRIPTION, 891 IDS_FLAGS_SHOW_LAUNCHER_ALIGNMENT_MENU_DESCRIPTION,
885 kOsAll, 892 kOsAll,
886 SINGLE_VALUE_TYPE(switches::kShowLauncherAlignmentMenu) 893 SINGLE_VALUE_TYPE(switches::kShowLauncherAlignmentMenu)
887 }, 894 },
888 { 895 {
889 "show-touch-hud", 896 "show-touch-hud",
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
1598 } 1605 }
1599 1606
1600 const Experiment* GetExperiments(size_t* count) { 1607 const Experiment* GetExperiments(size_t* count) {
1601 *count = num_experiments; 1608 *count = num_experiments;
1602 return experiments; 1609 return experiments;
1603 } 1610 }
1604 1611
1605 } // namespace testing 1612 } // namespace testing
1606 1613
1607 } // namespace about_flags 1614 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698