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

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 Pawel's comment. 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/download/download_item_model.cc » ('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 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
817 }, 817 },
818 { 818 {
819 "no-discard-tabs", 819 "no-discard-tabs",
820 IDS_FLAGS_NO_DISCARD_TABS_NAME, 820 IDS_FLAGS_NO_DISCARD_TABS_NAME,
821 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION, 821 IDS_FLAGS_NO_DISCARD_TABS_DESCRIPTION,
822 kOsCrOS, 822 kOsCrOS,
823 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs) 823 SINGLE_VALUE_TYPE(switches::kNoDiscardTabs)
824 }, 824 },
825 #endif 825 #endif
826 { 826 {
827 "enable-download-resumption",
828 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_NAME,
829 IDS_FLAGS_ENABLE_DOWNLOAD_RESUMPTION_DESCRIPTION,
830 kOsAll,
831 SINGLE_VALUE_TYPE(switches::kEnableDownloadResumption)
832 },
833 {
827 "allow-nacl-socket-api", 834 "allow-nacl-socket-api",
828 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME, 835 IDS_FLAGS_ALLOW_NACL_SOCKET_API_NAME,
829 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION, 836 IDS_FLAGS_ALLOW_NACL_SOCKET_API_DESCRIPTION,
830 kOsAll, 837 kOsAll,
831 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*") 838 SINGLE_VALUE_TYPE_AND_VALUE(switches::kAllowNaClSocketAPI, "*")
832 }, 839 },
833 { 840 {
834 "stacked-tab-strip", 841 "stacked-tab-strip",
835 IDS_FLAGS_STACKED_TAB_STRIP_NAME, 842 IDS_FLAGS_STACKED_TAB_STRIP_NAME,
836 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION, 843 IDS_FLAGS_STACKED_TAB_STRIP_DESCRIPTION,
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
1630 } 1637 }
1631 1638
1632 const Experiment* GetExperiments(size_t* count) { 1639 const Experiment* GetExperiments(size_t* count) {
1633 *count = num_experiments; 1640 *count = num_experiments;
1634 return experiments; 1641 return experiments;
1635 } 1642 }
1636 1643
1637 } // namespace testing 1644 } // namespace testing
1638 1645
1639 } // namespace about_flags 1646 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/download/download_item_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698