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

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

Issue 6976001: Turn on the History Quick Provider by Default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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/autocomplete/autocomplete.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 #endif 298 #endif
299 }, 299 },
300 { 300 {
301 "multi-profiles", 301 "multi-profiles",
302 IDS_FLAGS_MULTI_PROFILES_NAME, 302 IDS_FLAGS_MULTI_PROFILES_NAME,
303 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION, 303 IDS_FLAGS_MULTI_PROFILES_DESCRIPTION,
304 kOsAll, 304 kOsAll,
305 SINGLE_VALUE_TYPE(switches::kMultiProfiles) 305 SINGLE_VALUE_TYPE(switches::kMultiProfiles)
306 }, 306 },
307 { 307 {
308 "enable-history-quick-provider",
309 IDS_FLAGS_ENABLE_HISTORY_QUICK_PROVIDER,
310 IDS_FLAGS_ENABLE_HISTORY_QUICK_PROVIDER_DESCRIPTION,
311 kOsAll,
312 SINGLE_VALUE_TYPE(switches::kEnableHistoryQuickProvider)
313 },
314 {
315 "restrict-instant-to-search", 308 "restrict-instant-to-search",
316 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME, 309 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_NAME,
317 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION, 310 IDS_FLAGS_RESTRICT_INSTANT_TO_SEARCH_DESCRIPTION,
318 kOsAll, 311 kOsAll,
319 SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch) 312 SINGLE_VALUE_TYPE(switches::kRestrictInstantToSearch)
320 }, 313 },
321 }; 314 };
322 315
323 const Experiment* experiments = kExperiments; 316 const Experiment* experiments = kExperiments;
324 size_t num_experiments = arraysize(kExperiments); 317 size_t num_experiments = arraysize(kExperiments);
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 } 733 }
741 734
742 const Experiment* GetExperiments(size_t* count) { 735 const Experiment* GetExperiments(size_t* count) {
743 *count = num_experiments; 736 *count = num_experiments;
744 return experiments; 737 return experiments;
745 } 738 }
746 739
747 } // namespace testing 740 } // namespace testing
748 741
749 } // namespace about_flags 742 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/autocomplete/autocomplete.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698