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

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: Gotta have a default option. 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
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/actions/actions.xml » ('j') | 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 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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1375 1381
1376 // ----------------------------------------------------------------------------- 1382 // -----------------------------------------------------------------------------
1377 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1383 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1378 // 1384 //
1379 // You were going to just dump your switches here, weren't you? Instead, please 1385 // You were going to just dump your switches here, weren't you? Instead, please
1380 // put them in alphabetical order above, or in order inside the appropriate 1386 // put them in alphabetical order above, or in order inside the appropriate
1381 // ifdef at the bottom. The order should match the header. 1387 // ifdef at the bottom. The order should match the header.
1382 // ----------------------------------------------------------------------------- 1388 // -----------------------------------------------------------------------------
1383 1389
1384 } // namespace switches 1390 } // namespace switches
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.h ('k') | tools/metrics/actions/actions.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698