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

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

Issue 208393015: Revert "Remove desktop auto-login since we don't plan on shipping it there. Refactor the base and … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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
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 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 }, 757 },
758 { 758 {
759 // See http://crbug.com/120416 for how to remove this flag. 759 // See http://crbug.com/120416 for how to remove this flag.
760 "save-page-as-mhtml", // FLAGS:RECORD_UMA 760 "save-page-as-mhtml", // FLAGS:RECORD_UMA
761 IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME, 761 IDS_FLAGS_SAVE_PAGE_AS_MHTML_NAME,
762 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION, 762 IDS_FLAGS_SAVE_PAGE_AS_MHTML_DESCRIPTION,
763 kOsMac | kOsWin | kOsLinux, 763 kOsMac | kOsWin | kOsLinux,
764 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML) 764 SINGLE_VALUE_TYPE(switches::kSavePageAsMHTML)
765 }, 765 },
766 { 766 {
767 "enable-autologin",
768 IDS_FLAGS_ENABLE_AUTOLOGIN_NAME,
769 IDS_FLAGS_ENABLE_AUTOLOGIN_DESCRIPTION,
770 kOsMac | kOsWin | kOsLinux,
771 SINGLE_VALUE_TYPE(switches::kEnableAutologin)
772 },
773 {
767 "enable-quic", 774 "enable-quic",
768 IDS_FLAGS_ENABLE_QUIC_NAME, 775 IDS_FLAGS_ENABLE_QUIC_NAME,
769 IDS_FLAGS_ENABLE_QUIC_DESCRIPTION, 776 IDS_FLAGS_ENABLE_QUIC_DESCRIPTION,
770 kOsAll, 777 kOsAll,
771 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, 778 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic,
772 switches::kDisableQuic) 779 switches::kDisableQuic)
773 }, 780 },
774 { 781 {
775 "enable-quic-https", 782 "enable-quic-https",
776 IDS_FLAGS_ENABLE_QUIC_HTTPS_NAME, 783 IDS_FLAGS_ENABLE_QUIC_HTTPS_NAME,
(...skipping 1563 matching lines...) Expand 10 before | Expand all | Expand 10 after
2340 } 2347 }
2341 2348
2342 const Experiment* GetExperiments(size_t* count) { 2349 const Experiment* GetExperiments(size_t* count) {
2343 *count = num_experiments; 2350 *count = num_experiments;
2344 return experiments; 2351 return experiments;
2345 } 2352 }
2346 2353
2347 } // namespace testing 2354 } // namespace testing
2348 2355
2349 } // namespace about_flags 2356 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698