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

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

Issue 17571018: Reland fast tab closure behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Diff against original patch Created 7 years, 5 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
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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis) 534 SINGLE_VALUE_TYPE(switches::kEnableExperimentalExtensionApis)
535 }, 535 },
536 { 536 {
537 "extensions-on-chrome-urls", 537 "extensions-on-chrome-urls",
538 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_NAME, 538 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_NAME,
539 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_DESCRIPTION, 539 IDS_FLAGS_EXTENSIONS_ON_CHROME_URLS_DESCRIPTION,
540 kOsAll, 540 kOsAll,
541 SINGLE_VALUE_TYPE(switches::kExtensionsOnChromeURLs) 541 SINGLE_VALUE_TYPE(switches::kExtensionsOnChromeURLs)
542 }, 542 },
543 { 543 {
544 "enable-fast-unload",
545 IDS_FLAGS_ENABLE_FAST_UNLOAD_NAME,
546 IDS_FLAGS_ENABLE_FAST_UNLOAD_DESCRIPTION,
547 kOsAll,
548 SINGLE_VALUE_TYPE(switches::kEnableFastUnload)
549 },
550 {
544 "enable-adview", 551 "enable-adview",
545 IDS_FLAGS_ENABLE_ADVIEW_NAME, 552 IDS_FLAGS_ENABLE_ADVIEW_NAME,
546 IDS_FLAGS_ENABLE_ADVIEW_DESCRIPTION, 553 IDS_FLAGS_ENABLE_ADVIEW_DESCRIPTION,
547 kOsDesktop, 554 kOsDesktop,
548 SINGLE_VALUE_TYPE(switches::kEnableAdview) 555 SINGLE_VALUE_TYPE(switches::kEnableAdview)
549 }, 556 },
550 { 557 {
551 "enable-adview-src-attribute", 558 "enable-adview-src-attribute",
552 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_NAME, 559 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_NAME,
553 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_DESCRIPTION, 560 IDS_FLAGS_ENABLE_ADVIEW_SRC_ATTRIBUTE_DESCRIPTION,
(...skipping 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after
2058 } 2065 }
2059 2066
2060 const Experiment* GetExperiments(size_t* count) { 2067 const Experiment* GetExperiments(size_t* count) {
2061 *count = num_experiments; 2068 *count = num_experiments;
2062 return experiments; 2069 return experiments;
2063 } 2070 }
2064 2071
2065 } // namespace testing 2072 } // namespace testing
2066 2073
2067 } // namespace about_flags 2074 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698