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

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

Issue 321943002: Prefetch high-confidence search suggestions in Android Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 6 years, 6 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 <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1703 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableFastTextAutosizing, 1703 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableFastTextAutosizing,
1704 switches::kDisableFastTextAutosizing) 1704 switches::kDisableFastTextAutosizing)
1705 }, 1705 },
1706 { 1706 {
1707 "disable-cast", 1707 "disable-cast",
1708 IDS_FLAGS_DISABLE_CAST_NAME, 1708 IDS_FLAGS_DISABLE_CAST_NAME,
1709 IDS_FLAGS_DISABLE_CAST_DESCRIPTION, 1709 IDS_FLAGS_DISABLE_CAST_DESCRIPTION,
1710 kOsAndroid, 1710 kOsAndroid,
1711 SINGLE_VALUE_TYPE(switches::kDisableCast) 1711 SINGLE_VALUE_TYPE(switches::kDisableCast)
1712 }, 1712 },
1713 #endif
1714 { 1713 {
1715 "prefetch-search-results", 1714 "prefetch-search-results",
1716 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME, 1715 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_NAME,
1717 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION, 1716 IDS_FLAGS_PREFETCH_SEARCH_RESULTS_DESCRIPTION,
1718 kOsDesktop, 1717 kOsAndroid,
1719 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults) 1718 SINGLE_VALUE_TYPE(switches::kPrefetchSearchResults)
1720 }, 1719 },
1720 #endif
1721 #if defined(ENABLE_APP_LIST) 1721 #if defined(ENABLE_APP_LIST)
1722 { 1722 {
1723 "enable-experimental-app-list", 1723 "enable-experimental-app-list",
1724 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_NAME, 1724 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_NAME,
1725 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_DESCRIPTION, 1725 IDS_FLAGS_ENABLE_EXPERIMENTAL_APP_LIST_DESCRIPTION,
1726 kOsWin | kOsLinux | kOsCrOS, 1726 kOsWin | kOsLinux | kOsCrOS,
1727 SINGLE_VALUE_TYPE(app_list::switches::kEnableExperimentalAppList) 1727 SINGLE_VALUE_TYPE(app_list::switches::kEnableExperimentalAppList)
1728 }, 1728 },
1729 { 1729 {
1730 "enable-centered-app-list", 1730 "enable-centered-app-list",
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
2412 } 2412 }
2413 2413
2414 const Experiment* GetExperiments(size_t* count) { 2414 const Experiment* GetExperiments(size_t* count) {
2415 *count = num_experiments; 2415 *count = num_experiments;
2416 return experiments; 2416 return experiments;
2417 } 2417 }
2418 2418
2419 } // namespace testing 2419 } // namespace testing
2420 2420
2421 } // namespace about_flags 2421 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698