| OLD | NEW |
| 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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 | 681 |
| 682 #if !defined(GOOGLE_CHROME_BUILD) | 682 #if !defined(GOOGLE_CHROME_BUILD) |
| 683 // Enables a live-reload for local NTP resources. This only works when Chrome | 683 // Enables a live-reload for local NTP resources. This only works when Chrome |
| 684 // is running from a Chrome source directory. | 684 // is running from a Chrome source directory. |
| 685 const char kLocalNtpReload[] = "local-ntp-reload"; | 685 const char kLocalNtpReload[] = "local-ntp-reload"; |
| 686 #endif | 686 #endif |
| 687 | 687 |
| 688 // Makes Chrome default browser | 688 // Makes Chrome default browser |
| 689 const char kMakeDefaultBrowser[] = "make-default-browser"; | 689 const char kMakeDefaultBrowser[] = "make-default-browser"; |
| 690 | 690 |
| 691 // Use to opt-in to marking HTTP as non-secure. | |
| 692 const char kMarkNonSecureAs[] = "mark-non-secure-as"; | |
| 693 const char kMarkNonSecureAsNeutral[] = "neutral"; | |
| 694 const char kMarkNonSecureAsNonSecure[] = "non-secure"; | |
| 695 | |
| 696 // Forces the maximum disk space to be used by the media cache, in bytes. | 691 // Forces the maximum disk space to be used by the media cache, in bytes. |
| 697 const char kMediaCacheSize[] = "media-cache-size"; | 692 const char kMediaCacheSize[] = "media-cache-size"; |
| 698 | 693 |
| 699 // Enables Media Router. | 694 // Enables Media Router. |
| 700 const char kMediaRouter[] = "media-router"; | 695 const char kMediaRouter[] = "media-router"; |
| 701 | 696 |
| 702 // Enables histograming of tasks served by MessageLoop. See | 697 // Enables histograming of tasks served by MessageLoop. See |
| 703 // about:histograms/Loop for results, which show frequency of messages on each | 698 // about:histograms/Loop for results, which show frequency of messages on each |
| 704 // thread, including APC count, object signalling count, etc. | 699 // thread, including APC count, object signalling count, etc. |
| 705 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; | 700 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1376 | 1371 |
| 1377 // ----------------------------------------------------------------------------- | 1372 // ----------------------------------------------------------------------------- |
| 1378 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. | 1373 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. |
| 1379 // | 1374 // |
| 1380 // You were going to just dump your switches here, weren't you? Instead, please | 1375 // You were going to just dump your switches here, weren't you? Instead, please |
| 1381 // put them in alphabetical order above, or in order inside the appropriate | 1376 // put them in alphabetical order above, or in order inside the appropriate |
| 1382 // ifdef at the bottom. The order should match the header. | 1377 // ifdef at the bottom. The order should match the header. |
| 1383 // ----------------------------------------------------------------------------- | 1378 // ----------------------------------------------------------------------------- |
| 1384 | 1379 |
| 1385 } // namespace switches | 1380 } // namespace switches |
| OLD | NEW |