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

Side by Side Diff: chrome/common/chrome_switches.cc

Issue 1260033003: Partially componentize //chrome/browser/search/search.{h,cc} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 4 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
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/common/chrome_switches.h" 5 #include "chrome/common/chrome_switches.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 const char kEnablePrintPreviewRegisterPromos[] = 499 const char kEnablePrintPreviewRegisterPromos[] =
500 "enable-print-preview-register-promos"; 500 "enable-print-preview-register-promos";
501 501
502 // Enables tracking of tasks in profiler for viewing via about:profiler. 502 // Enables tracking of tasks in profiler for viewing via about:profiler.
503 // To predominantly disable tracking (profiling), use the command line switch: 503 // To predominantly disable tracking (profiling), use the command line switch:
504 // --enable-profiling=0 504 // --enable-profiling=0
505 // Some tracking will still take place at startup, but it will be turned off 505 // Some tracking will still take place at startup, but it will be turned off
506 // during chrome_browser_main. 506 // during chrome_browser_main.
507 const char kEnableProfiling[] = "enable-profiling"; 507 const char kEnableProfiling[] = "enable-profiling";
508 508
509 // Enables query in the omnibox.
510 const char kEnableQueryExtraction[] = "enable-query-extraction";
511
512 // Enables support for the QUIC protocol. This is a temporary testing flag. 509 // Enables support for the QUIC protocol. This is a temporary testing flag.
513 const char kEnableQuic[] = "enable-quic"; 510 const char kEnableQuic[] = "enable-quic";
514 511
515 // Enable use of Chromium's port selection for the ephemeral port via bind(). 512 // Enable use of Chromium's port selection for the ephemeral port via bind().
516 // This only has an effect if QUIC protocol is enabled. 513 // This only has an effect if QUIC protocol is enabled.
517 const char kEnableQuicPortSelection[] = "enable-quic-port-selection"; 514 const char kEnableQuicPortSelection[] = "enable-quic-port-selection";
518 515
519 // Enables save password prompt bubble. 516 // Enables save password prompt bubble.
520 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble"; 517 const char kEnableSavePasswordBubble[] = "enable-save-password-bubble";
521 518
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 // Enables zero suggest functionality on Dev channel, showing most visited 1196 // Enables zero suggest functionality on Dev channel, showing most visited
1200 // sites as default suggestions. 1197 // sites as default suggestions.
1201 const char kEnableZeroSuggestMostVisited[] = 1198 const char kEnableZeroSuggestMostVisited[] =
1202 "enable-zero-suggest-most-visited"; 1199 "enable-zero-suggest-most-visited";
1203 1200
1204 // Enable zero suggest functionality on Dev channel, showing most visited 1201 // Enable zero suggest functionality on Dev channel, showing most visited
1205 // sites on non-search-result pages as default suggestions. 1202 // sites on non-search-result pages as default suggestions.
1206 const char kEnableZeroSuggestMostVisitedWithoutSerp[] = 1203 const char kEnableZeroSuggestMostVisitedWithoutSerp[] =
1207 "enable-zero-suggest-most-visited-without-serp"; 1204 "enable-zero-suggest-most-visited-without-serp";
1208 1205
1209 // Triggers prerendering of search base page to prefetch results for the typed
1210 // omnibox query. Only has an effect when prerender is enabled.
1211 const char kPrefetchSearchResults[] = "prefetch-search-results";
1212 #endif // defined(OS_ANDROID) 1206 #endif // defined(OS_ANDROID)
1213 1207
1214 #if defined(USE_ASH) 1208 #if defined(USE_ASH)
1215 const char kOpenAsh[] = "open-ash"; 1209 const char kOpenAsh[] = "open-ash";
1216 #endif 1210 #endif
1217 1211
1218 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS) 1212 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_CHROMEOS)
1219 // These flags show the man page on Linux. They are equivalent to each 1213 // These flags show the man page on Linux. They are equivalent to each
1220 // other. 1214 // other.
1221 const char kHelp[] = "help"; 1215 const char kHelp[] = "help";
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 1401
1408 // ----------------------------------------------------------------------------- 1402 // -----------------------------------------------------------------------------
1409 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1403 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1410 // 1404 //
1411 // You were going to just dump your switches here, weren't you? Instead, please 1405 // You were going to just dump your switches here, weren't you? Instead, please
1412 // put them in alphabetical order above, or in order inside the appropriate 1406 // put them in alphabetical order above, or in order inside the appropriate
1413 // ifdef at the bottom. The order should match the header. 1407 // ifdef at the bottom. The order should match the header.
1414 // ----------------------------------------------------------------------------- 1408 // -----------------------------------------------------------------------------
1415 1409
1416 } // namespace switches 1410 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698