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

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

Issue 10909124: Improves application state persistance. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Updates unit tests. Created 8 years, 3 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 // Otherwise, where we know Windows could be working if a viable PDF 218 // Otherwise, where we know Windows could be working if a viable PDF
219 // plug-in could be supplied, we'll keep the lab enabled. Mac and Linux 219 // plug-in could be supplied, we'll keep the lab enabled. Mac and Linux
220 // always have PDF rasterization available, so no flag needed there. 220 // always have PDF rasterization available, so no flag needed there.
221 #if !defined(GOOGLE_CHROME_BUILD) 221 #if !defined(GOOGLE_CHROME_BUILD)
222 kOsWin, 222 kOsWin,
223 #else 223 #else
224 0, 224 0,
225 #endif 225 #endif
226 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy) 226 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintProxy)
227 }, 227 },
228 {
229 "print-setting-reset", // FLAGS:RECORD_UMA
230 IDS_FLAGS_PRINT_SETTING_RESET_NAME,
231 IDS_FLAGS_PRINT_SETTING_RESET_DESCRIPTION,
232 kOsAll,
233 SINGLE_VALUE_TYPE(switches::kPrintSettingsReset)
234 },
235 #if defined(OS_WIN) 228 #if defined(OS_WIN)
236 { 229 {
237 "print-raster", 230 "print-raster",
238 IDS_FLAGS_PRINT_RASTER_NAME, 231 IDS_FLAGS_PRINT_RASTER_NAME,
239 IDS_FLAGS_PRINT_RASTER_DESCRIPTION, 232 IDS_FLAGS_PRINT_RASTER_DESCRIPTION,
240 kOsWin, 233 kOsWin,
241 SINGLE_VALUE_TYPE(switches::kPrintRaster) 234 SINGLE_VALUE_TYPE(switches::kPrintRaster)
242 }, 235 },
243 #endif // OS_WIN 236 #endif // OS_WIN
244 { 237 {
(...skipping 1131 matching lines...) Expand 10 before | Expand all | Expand 10 after
1376 } 1369 }
1377 1370
1378 const Experiment* GetExperiments(size_t* count) { 1371 const Experiment* GetExperiments(size_t* count) {
1379 *count = num_experiments; 1372 *count = num_experiments;
1380 return experiments; 1373 return experiments;
1381 } 1374 }
1382 1375
1383 } // namespace testing 1376 } // namespace testing
1384 1377
1385 } // namespace about_flags 1378 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/print_preview/data/app_state.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698