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

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

Issue 24733003: Update defaults for InstantExtended. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unused. Created 7 years, 1 month 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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 kOsAll, 656 kOsAll,
657 SINGLE_VALUE_TYPE(switches::kNoPings) 657 SINGLE_VALUE_TYPE(switches::kNoPings)
658 }, 658 },
659 { 659 {
660 "tab-groups-context-menu", 660 "tab-groups-context-menu",
661 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME, 661 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_NAME,
662 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION, 662 IDS_FLAGS_TAB_GROUPS_CONTEXT_MENU_DESCRIPTION,
663 kOsWin, 663 kOsWin,
664 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu) 664 SINGLE_VALUE_TYPE(switches::kEnableTabGroupsContextMenu)
665 }, 665 },
666 {
667 "enable-instant-extended-api",
668 IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API,
669 IDS_FLAGS_ENABLE_INSTANT_EXTENDED_API_DESCRIPTION,
670 kOsMac | kOsWin | kOsCrOS,
671 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableInstantExtendedAPI,
672 switches::kDisableInstantExtendedAPI)
673 },
674 {
675 "use-cacheable-new-tab-page",
676 IDS_FLAGS_ENABLE_INSTANT_EXTENDED_CACHEABLE_NTP,
677 IDS_FLAGS_ENABLE_INSTANT_EXTENDED_CACHEABLE_NTP_DESCRIPTION,
678 kOsMac | kOsWin | kOsCrOS,
679 SINGLE_VALUE_TYPE(switches::kUseCacheableNewTabPage)
680 },
681 {
682 "enable-local-first-load-ntp",
683 IDS_FLAGS_ENABLE_LOCAL_FIRST_LOAD_NTP,
684 IDS_FLAGS_ENABLE_LOCAL_FIRST_LOAD_NTP_DESCRIPTION,
685 kOsMac | kOsWin | kOsCrOS,
686 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableLocalFirstLoadNTP,
687 switches::kDisableLocalFirstLoadNTP)
688 },
689 #if defined(OS_ANDROID) 666 #if defined(OS_ANDROID)
690 { 667 {
691 "enable-new-ntp", 668 "enable-new-ntp",
692 IDS_FLAGS_ENABLE_NEW_NTP, 669 IDS_FLAGS_ENABLE_NEW_NTP,
693 IDS_FLAGS_ENABLE_NEW_NTP_DESCRIPTION, 670 IDS_FLAGS_ENABLE_NEW_NTP_DESCRIPTION,
694 kOsAndroid, 671 kOsAndroid,
695 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewNTP, 672 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableNewNTP,
696 switches::kDisableNewNTP) 673 switches::kDisableNewNTP)
697 }, 674 },
698 #endif 675 #endif
(...skipping 1634 matching lines...) Expand 10 before | Expand all | Expand 10 after
2333 } 2310 }
2334 2311
2335 const Experiment* GetExperiments(size_t* count) { 2312 const Experiment* GetExperiments(size_t* count) {
2336 *count = num_experiments; 2313 *count = num_experiments;
2337 return experiments; 2314 return experiments;
2338 } 2315 }
2339 2316
2340 } // namespace testing 2317 } // namespace testing
2341 2318
2342 } // namespace about_flags 2319 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/autocomplete/search_provider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698