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

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

Issue 346733003: Add experimental versions of the malware interstitial (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak to "not recommended" string Created 6 years, 6 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 | 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 791 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 // given item, and then prompt the user to download and install it. 802 // given item, and then prompt the user to download and install it.
803 const char kLimitedInstallFromWebstore[] = "limited-install-from-webstore"; 803 const char kLimitedInstallFromWebstore[] = "limited-install-from-webstore";
804 804
805 // Comma-separated list of directories with component extensions to load. 805 // Comma-separated list of directories with component extensions to load.
806 const char kLoadComponentExtension[] = "load-component-extension"; 806 const char kLoadComponentExtension[] = "load-component-extension";
807 807
808 // Loads an extension from the specified directory. 808 // Loads an extension from the specified directory.
809 const char kLoadExtension[] = "load-extension"; 809 const char kLoadExtension[] = "load-extension";
810 810
811 // Controls which version of the malware and phishing interstitials is shown. 811 // Controls which version of the malware and phishing interstitials is shown.
812 const char kMalwareInterstitialVersionV2[] = "malware-interstitial-v2"; 812 const char kMalwareInterstitialV2[] = "malware-interstitial-v2";
813 const char kMalwareInterstitialVersionV3[] = "malware-interstitial-v3"; 813 const char kMalwareInterstitialV3[] = "malware-interstitial-v3";
814 const char kMalwareInterstitialV3Advice[] = "malware-interstitial-v3-advice";
815 const char kMalwareInterstitialV3Social[] = "malware-interstitial-v3-social";
816 const char kMalwareInterstitialV3NotRecommend[] =
817 "malware-interstitial-v3-not-recommend";
818 const char kMalwareInterstitialV3History[] = "malware-interstitial-v3-history";
814 819
815 // Makes Chrome default browser 820 // Makes Chrome default browser
816 const char kMakeDefaultBrowser[] = "make-default-browser"; 821 const char kMakeDefaultBrowser[] = "make-default-browser";
817 822
818 // Sets the supervised user ID for any loaded or newly created profile to the 823 // Sets the supervised user ID for any loaded or newly created profile to the
819 // given value. Pass an empty string to mark the profile as non-supervised. 824 // given value. Pass an empty string to mark the profile as non-supervised.
820 // Used for testing. 825 // Used for testing.
821 const char kSupervisedUserId[] = "managed-user-id"; 826 const char kSupervisedUserId[] = "managed-user-id";
822 827
823 // Used to authenticate requests to the Sync service for supervised users. 828 // Used to authenticate requests to the Sync service for supervised users.
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after
1406 1411
1407 // ----------------------------------------------------------------------------- 1412 // -----------------------------------------------------------------------------
1408 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE. 1413 // DO NOT ADD YOUR CRAP TO THE BOTTOM OF THIS FILE.
1409 // 1414 //
1410 // You were going to just dump your switches here, weren't you? Instead, please 1415 // You were going to just dump your switches here, weren't you? Instead, please
1411 // put them in alphabetical order above, or in order inside the appropriate 1416 // put them in alphabetical order above, or in order inside the appropriate
1412 // ifdef at the bottom. The order should match the header. 1417 // ifdef at the bottom. The order should match the header.
1413 // ----------------------------------------------------------------------------- 1418 // -----------------------------------------------------------------------------
1414 1419
1415 } // namespace switches 1420 } // namespace switches
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