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

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

Issue 12463015: Enable <adview> tag for packaged apps. (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Code review feedback. Created 7 years, 9 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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 const char kDnsLogDetails[] = "dns-log-details"; 427 const char kDnsLogDetails[] = "dns-log-details";
428 428
429 // Disables prefetching of DNS information. 429 // Disables prefetching of DNS information.
430 const char kDnsPrefetchDisable[] = "dns-prefetch-disable"; 430 const char kDnsPrefetchDisable[] = "dns-prefetch-disable";
431 431
432 // Dump any accumualted histograms to the log when browser terminates (requires 432 // Dump any accumualted histograms to the log when browser terminates (requires
433 // logging to be enabled to really do anything). Used by developers and test 433 // logging to be enabled to really do anything). Used by developers and test
434 // scripts. 434 // scripts.
435 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit"; 435 const char kDumpHistogramsOnExit[] = "dump-histograms-on-exit";
436 436
437 // Enables the <adview> tag in packaged apps.
438 const char kEnableAdview[] = "enable-adview";
439
440 // Enables specifying a "src" attribute on <adview> elements
441 // (for testing purposes, to skip the whitelist).
442 const char kEnableAdviewSrcAttribute[] = "enable-adview-src-attribute";
443
437 // Enables the experimental asynchronous DNS client. 444 // Enables the experimental asynchronous DNS client.
438 const char kEnableAsyncDns[] = "enable-async-dns"; 445 const char kEnableAsyncDns[] = "enable-async-dns";
439 446
440 // Enables the inclusion of non-standard ports when generating the Kerberos SPN 447 // Enables the inclusion of non-standard ports when generating the Kerberos SPN
441 // in response to a Negotiate challenge. See 448 // in response to a Negotiate challenge. See
442 // HttpAuthHandlerNegotiate::CreateSPN for more background. 449 // HttpAuthHandlerNegotiate::CreateSPN for more background.
443 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port"; 450 const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
444 451
445 // Enables the pre- and auto-login features. When a user signs in to sync, the 452 // Enables the pre- and auto-login features. When a user signs in to sync, the
446 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a 453 // browser's cookie jar is pre-filled with GAIA cookies. When the user visits a
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1655 1662
1656 // ----------------------------------------------------------------------------- 1663 // -----------------------------------------------------------------------------
1657 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1664 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1658 // 1665 //
1659 // You were going to just dump your switches here, weren't you? Instead, please 1666 // You were going to just dump your switches here, weren't you? Instead, please
1660 // put them in alphabetical order above, or in order inside the appropriate 1667 // put them in alphabetical order above, or in order inside the appropriate
1661 // ifdef at the bottom. The order should match the header. 1668 // ifdef at the bottom. The order should match the header.
1662 // ----------------------------------------------------------------------------- 1669 // -----------------------------------------------------------------------------
1663 1670
1664 } // namespace switches 1671 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698