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

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

Issue 11412291: Creating a skeleton for Google Now for Chrome implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final sky's comments. Created 8 years 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/common/chrome_switches.h ('k') | no next file » | 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) 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 505 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 // Enables experimental timeline API. 516 // Enables experimental timeline API.
517 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api"; 517 const char kEnableExtensionTimelineApi[] = "enable-extension-timeline-api";
518 518
519 // Applies the chrome style to any dialog based on ConstrainedWindowViews. 519 // Applies the chrome style to any dialog based on ConstrainedWindowViews.
520 const char kEnableChromeStyleDialogs[] = "enable-chrome-style-dialogs"; 520 const char kEnableChromeStyleDialogs[] = "enable-chrome-style-dialogs";
521 521
522 // By default, cookies are not allowed on file://. They are needed for testing, 522 // By default, cookies are not allowed on file://. They are needed for testing,
523 // for example page cycler and layout tests. See bug 1157243. 523 // for example page cycler and layout tests. See bug 1157243.
524 const char kEnableFileCookies[] = "enable-file-cookies"; 524 const char kEnableFileCookies[] = "enable-file-cookies";
525 525
526 // Enables Google Now integration.
527 const char kEnableGoogleNowIntegration[] = "enable-google-now-integration";
528
526 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will 529 // Enable HTTP pipelining. Attempt to pipeline HTTP connections. Heuristics will
527 // try to figure out if pipelining can be used for a given host and request. 530 // try to figure out if pipelining can be used for a given host and request.
528 // Without this flag, pipelining will never be used. 531 // Without this flag, pipelining will never be used.
529 const char kEnableHttpPipelining[] = "enable-http-pipelining"; 532 const char kEnableHttpPipelining[] = "enable-http-pipelining";
530 533
531 // Enable Instant extended API. 534 // Enable Instant extended API.
532 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api"; 535 const char kEnableInstantExtendedAPI[] = "enable-instant-extended-api";
533 536
534 // Enables IPv6 support, even if probes suggest that it may not be fully 537 // Enables IPv6 support, even if probes suggest that it may not be fully
535 // supported. Some probes may require internet connections, and this flag will 538 // supported. Some probes may require internet connections, and this flag will
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
1623 #elif defined(OS_WIN) 1626 #elif defined(OS_WIN)
1624 return CommandLine::ForCurrentProcess()->HasSwitch( 1627 return CommandLine::ForCurrentProcess()->HasSwitch(
1625 switches::kEnableChromeStyleDialogs); 1628 switches::kEnableChromeStyleDialogs);
1626 #else 1629 #else
1627 return CommandLine::ForCurrentProcess()->HasSwitch( 1630 return CommandLine::ForCurrentProcess()->HasSwitch(
1628 switches::kEnableChromeStyleDialogs); 1631 switches::kEnableChromeStyleDialogs);
1629 #endif 1632 #endif
1630 } 1633 }
1631 1634
1632 } // namespace chrome 1635 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698