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

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

Issue 11571025: Initial CL for Downloads resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated comments. Created 7 years, 11 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/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 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
819 }, 819 },
820 { 820 {
821 "no-discard-tabs", 821 "no-discard-tabs",
822 IDS_FLAGS_NO_DISCARD_TABS_NAME, 822 IDS_FLAGS_NO_DISCARD_TABS_NAME,
823 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, 823 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION,
824 kOsCrOS, 824 kOsCrOS,
825 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) 825 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs)
826 }, 826 },
827 #endif 827 #endif
828 { 828 {
829 "enable-download-restarts",
benjhayden 2013/01/08 16:41:17 restarts or resumption?
Randy Smith (Not in Mondays) 2013/01/09 22:34:37 Done.
830 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME,
831 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_DESCRIPTION,
832 kOsAll,
833 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption)
834 },
835 {
829 "allow-nacl-socket-api", 836 "allow-nacl-socket-api",
830 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, 837 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME,
831 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, 838 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION,
832 kOsAll, 839 kOsAll,
833 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") 840 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")
834 }, 841 },
835 { 842 {
836 "stacked-tab-strip", 843 "stacked-tab-strip",
837 IDS_FLAGS_STACKED_TAB_STRIP_NAME, 844 IDS_FLAGS_STACKED_TAB_STRIP_NAME,
838 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, 845 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION,
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 } 1639 }
1633 1640
1634 const Experiment* GetExperiments(size_t* count) { 1641 const Experiment* GetExperiments(size_t* count) {
1635 *count = num_experiments; 1642 *count = num_experiments;
1636 return experiments; 1643 return experiments;
1637 } 1644 }
1638 1645
1639 } // namespace testing 1646 } // namespace testing
1640 1647
1641 } // namespace about_flags 1648 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698