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

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

Issue 10103013: cros: Remove obsolete about:flags switch for memory widget (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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/common/chrome_switches.h » ('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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 SINGLE_VALUE_TYPE(switches::kEnablePanels) 380 SINGLE_VALUE_TYPE(switches::kEnablePanels)
381 }, 381 },
382 { 382 {
383 "disable-shortcuts-provider", 383 "disable-shortcuts-provider",
384 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER, 384 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER,
385 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER_DESCRIPTION, 385 IDS_FLAGS_DISABLE_SHORTCUTS_PROVIDER_DESCRIPTION,
386 kOsAll, 386 kOsAll,
387 SINGLE_VALUE_TYPE(switches::kDisableShortcutsProvider) 387 SINGLE_VALUE_TYPE(switches::kDisableShortcutsProvider)
388 }, 388 },
389 { 389 {
390 "memory-widget",
391 IDS_FLAGS_MEMORY_WIDGET_NAME,
392 IDS_FLAGS_MEMORY_WIDGET_DESCRIPTION,
393 kOsCrOS,
394 #if defined(OS_CHROMEOS)
395 // This switch exists only on Chrome OS.
396 SINGLE_VALUE_TYPE(switches::kMemoryWidget)
397 #else
398 SINGLE_VALUE_TYPE("")
399 #endif
400 },
401 {
402 "downloads-new-ui", // FLAGS:RECORD_UMA 390 "downloads-new-ui", // FLAGS:RECORD_UMA
403 IDS_FLAGS_DOWNLOADS_NEW_UI_NAME, 391 IDS_FLAGS_DOWNLOADS_NEW_UI_NAME,
404 IDS_FLAGS_DOWNLOADS_NEW_UI_DESCRIPTION, 392 IDS_FLAGS_DOWNLOADS_NEW_UI_DESCRIPTION,
405 kOsAll, 393 kOsAll,
406 SINGLE_VALUE_TYPE(switches::kDownloadsNewUI) 394 SINGLE_VALUE_TYPE(switches::kDownloadsNewUI)
407 }, 395 },
408 { 396 {
409 "enable-autologin", 397 "enable-autologin",
410 IDS_FLAGS_ENABLE_AUTOLOGIN_NAME, 398 IDS_FLAGS_ENABLE_AUTOLOGIN_NAME,
411 IDS_FLAGS_ENABLE_AUTOLOGIN_DESCRIPTION, 399 IDS_FLAGS_ENABLE_AUTOLOGIN_DESCRIPTION,
(...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 } 1033 }
1046 1034
1047 const Experiment* GetExperiments(size_t* count) { 1035 const Experiment* GetExperiments(size_t* count) {
1048 *count = num_experiments; 1036 *count = num_experiments;
1049 return experiments; 1037 return experiments;
1050 } 1038 }
1051 1039
1052 } // namespace testing 1040 } // namespace testing
1053 1041
1054 } // namespace about_flags 1042 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698