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

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

Issue 813873005: Add field trial and flag to mark HTTP as non-secure. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename to "Mark Non-Secure As ...", use named constants. Created 5 years, 11 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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 const char kLoadExtension[] = "load-extension"; 773 const char kLoadExtension[] = "load-extension";
774 774
775 // Makes Chrome default browser 775 // Makes Chrome default browser
776 const char kMakeDefaultBrowser[] = "make-default-browser"; 776 const char kMakeDefaultBrowser[] = "make-default-browser";
777 777
778 // Use to opt-in user into Finch experiment groups. 778 // Use to opt-in user into Finch experiment groups.
779 const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks"; 779 const char kManualEnhancedBookmarks[] = "manual-enhanced-bookmarks";
780 const char kManualEnhancedBookmarksOptout[] = 780 const char kManualEnhancedBookmarksOptout[] =
781 "manual-enhanced-bookmarks-optout"; 781 "manual-enhanced-bookmarks-optout";
782 782
783 // Use to opt-in to marking HTTP as non-secure.
784 const char kMarkNonSecureAs[] = "mark-non-secure-as";
785 const char kMarkNonSecureAsNeutral[] = "neutral";
786 const char kMarkNonSecureAsDubious[] = "dubious";
787 const char kMarkNonSecureAsNonSecure[] = "non-secure";
788
783 // Forces the maximum disk space to be used by the media cache, in bytes. 789 // Forces the maximum disk space to be used by the media cache, in bytes.
784 const char kMediaCacheSize[] = "media-cache-size"; 790 const char kMediaCacheSize[] = "media-cache-size";
785 791
786 // Enables histograming of tasks served by MessageLoop. See 792 // Enables histograming of tasks served by MessageLoop. See
787 // about:histograms/Loop for results, which show frequency of messages on each 793 // about:histograms/Loop for results, which show frequency of messages on each
788 // thread, including APC count, object signalling count, etc. 794 // thread, including APC count, object signalling count, etc.
789 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer"; 795 const char kMessageLoopHistogrammer[] = "message-loop-histogrammer";
790 796
791 // Enables the recording of metrics reports but disables reporting. In contrast 797 // Enables the recording of metrics reports but disables reporting. In contrast
792 // to kDisableMetrics, this executes all the code that a normal client would 798 // to kDisableMetrics, this executes all the code that a normal client would
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 1400
1395 // ----------------------------------------------------------------------------- 1401 // -----------------------------------------------------------------------------
1396 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1402 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1397 // 1403 //
1398 // You were going to just dump your switches here, weren't you? Instead, please 1404 // You were going to just dump your switches here, weren't you? Instead, please
1399 // put them in alphabetical order above, or in order inside the appropriate 1405 // put them in alphabetical order above, or in order inside the appropriate
1400 // ifdef at the bottom. The order should match the header. 1406 // ifdef at the bottom. The order should match the header.
1401 // ----------------------------------------------------------------------------- 1407 // -----------------------------------------------------------------------------
1402 1408
1403 } // namespace switches 1409 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698