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

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

Issue 856643002: Viewing cached webpages while offline is not available on Chrome OS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 2136 matching lines...) Expand 10 before | Expand all | Expand 10 after
2147 SINGLE_VALUE_TYPE(switches::kEnablePotentiallyAnnoyingSecurityFeatures) 2147 SINGLE_VALUE_TYPE(switches::kEnablePotentiallyAnnoyingSecurityFeatures)
2148 }, 2148 },
2149 #endif 2149 #endif
2150 { 2150 {
2151 "enable-delay-agnostic-aec", 2151 "enable-delay-agnostic-aec",
2152 IDS_FLAGS_ENABLE_DELAY_AGNOSTIC_AEC_NAME, 2152 IDS_FLAGS_ENABLE_DELAY_AGNOSTIC_AEC_NAME,
2153 IDS_FLAGS_ENABLE_DELAY_AGNOSTIC_AEC_DESCRIPTION, 2153 IDS_FLAGS_ENABLE_DELAY_AGNOSTIC_AEC_DESCRIPTION,
2154 kOsDesktop, 2154 kOsDesktop,
2155 SINGLE_VALUE_TYPE(switches::kEnableDelayAgnosticAec) 2155 SINGLE_VALUE_TYPE(switches::kEnableDelayAgnosticAec)
2156 }, 2156 },
2157 {
2158 "enable-new-offline-error-page",
2159 IDS_FLAGS_ENABLE_NEW_OFFLINE_ERROR_PAGE,
2160 IDS_FLAGS_ENABLE_NEW_OFFLINE_ERROR_PAGE_DESCRIPTION,
2161 kOsCrOS,
2162 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewOfflineErrorPage,
2163 switches::kDisableNewOfflineErrorPage)
2164 },
oshima 2015/01/23 21:49:03 I still think we don't need about flags. We want t
afakhry 2015/01/24 00:53:16 Done.
2157 2165
2158 // NOTE: Adding new command-line switches requires adding corresponding 2166 // NOTE: Adding new command-line switches requires adding corresponding
2159 // entries to enum "LoginCustomFlags" in histograms.xml. See note in 2167 // entries to enum "LoginCustomFlags" in histograms.xml. See note in
2160 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test. 2168 // histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
2161 }; 2169 };
2162 2170
2163 const Experiment* experiments = kExperiments; 2171 const Experiment* experiments = kExperiments;
2164 size_t num_experiments = arraysize(kExperiments); 2172 size_t num_experiments = arraysize(kExperiments);
2165 2173
2166 // Stores and encapsulates the little state that about:flags has. 2174 // Stores and encapsulates the little state that about:flags has.
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
2726 } 2734 }
2727 2735
2728 const Experiment* GetExperiments(size_t* count) { 2736 const Experiment* GetExperiments(size_t* count) {
2729 *count = num_experiments; 2737 *count = num_experiments;
2730 return experiments; 2738 return experiments;
2731 } 2739 }
2732 2740
2733 } // namespace testing 2741 } // namespace testing
2734 2742
2735 } // namespace about_flags 2743 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698