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

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

Issue 10918021: Remove old flags from about:flags and add new ones instead. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: rebase 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 | Annotate | Revision Log
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/nacl_host/nacl_process_host.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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 // TODO(halyavin): When exception handling is on by default, replace this 336 // TODO(halyavin): When exception handling is on by default, replace this
337 // flag with disable-nacl-exception-handling. 337 // flag with disable-nacl-exception-handling.
338 { 338 {
339 "enable-nacl-exception-handling", // FLAGS:RECORD_UMA 339 "enable-nacl-exception-handling", // FLAGS:RECORD_UMA
340 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_NAME, 340 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_NAME,
341 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_DESCRIPTION, 341 IDS_FLAGS_ENABLE_NACL_EXCEPTION_HANDLING_DESCRIPTION,
342 kOsAll, 342 kOsAll,
343 SINGLE_VALUE_TYPE(switches::kEnableNaClExceptionHandling) 343 SINGLE_VALUE_TYPE(switches::kEnableNaClExceptionHandling)
344 }, 344 },
345 { 345 {
346 "nacl-gdb", // FLAGS:RECORD_UMA 346 "enable-nacl-debug", // FLAGS:RECORD_UMA
347 IDS_FLAGS_NACL_GDB_NAME, 347 IDS_FLAGS_ENABLE_NACL_DEBUG_NAME,
348 IDS_FLAGS_NACL_GDB_DESCRIPTION, 348 IDS_FLAGS_ENABLE_NACL_DEBUG_DESCRIPTION,
349 kOsWin,
350 SINGLE_VALUE_TYPE(switches::kNaClGdb)
351 },
352 {
353 "nacl-gdb-script", // FLAGS:RECORD_UMA
354 IDS_FLAGS_NACL_GDB_SCRIPT_NAME,
355 IDS_FLAGS_NACL_GDB_SCRIPT_DESCRIPTION,
356 kOsAll, 349 kOsAll,
357 SINGLE_VALUE_TYPE(switches::kNaClGdbScript) 350 SINGLE_VALUE_TYPE(switches::kEnableNaClDebug)
358 }, 351 },
359 { 352 {
360 "enable-pnacl", // FLAGS:RECORD_UMA 353 "enable-pnacl", // FLAGS:RECORD_UMA
361 IDS_FLAGS_ENABLE_PNACL_NAME, 354 IDS_FLAGS_ENABLE_PNACL_NAME,
362 IDS_FLAGS_ENABLE_PNACL_DESCRIPTION, 355 IDS_FLAGS_ENABLE_PNACL_DESCRIPTION,
363 kOsAll, 356 kOsAll,
364 SINGLE_VALUE_TYPE(switches::kEnablePnacl) 357 SINGLE_VALUE_TYPE(switches::kEnablePnacl)
365 }, 358 },
366 { 359 {
367 "extension-apis", // FLAGS:RECORD_UMA 360 "extension-apis", // FLAGS:RECORD_UMA
(...skipping 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1383 } 1376 }
1384 1377
1385 const Experiment* GetExperiments(size_t* count) { 1378 const Experiment* GetExperiments(size_t* count) {
1386 *count = num_experiments; 1379 *count = num_experiments;
1387 return experiments; 1380 return experiments;
1388 } 1381 }
1389 1382
1390 } // namespace testing 1383 } // namespace testing
1391 1384
1392 } // namespace about_flags 1385 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698