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

Unified Diff: chrome/browser/about_flags.cc

Issue 1539043002: Pull SecurityStateModel out into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: unit test debugging Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 185c9bf70325a77170a7d9103f0dd54ed43cb677..8213cac534d9ff987d2f392c19a762372fcf401d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -45,6 +45,7 @@
#include "components/password_manager/core/common/password_manager_switches.h"
#include "components/proximity_auth/switches.h"
#include "components/search/search_switches.h"
+#include "components/security_state/switches.h"
#include "components/signin/core/common/signin_switches.h"
#include "components/sync_driver/sync_driver_switches.h"
#include "components/tracing/tracing_switches.h"
@@ -173,12 +174,12 @@ const FeatureEntry::Choice kNaClDebugMaskChoices[] = {
#endif
const FeatureEntry::Choice kMarkNonSecureAsChoices[] = {
- { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },
- { IDS_MARK_NON_SECURE_AS_NEUTRAL,
- switches::kMarkNonSecureAs, switches::kMarkNonSecureAsNeutral},
- { IDS_MARK_NON_SECURE_AS_NON_SECURE,
- switches::kMarkNonSecureAs, switches::kMarkNonSecureAsNonSecure}
-};
+ {IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""},
+ {IDS_MARK_NON_SECURE_AS_NEUTRAL, security_state::switches::kMarkNonSecureAs,
+ security_state::switches::kMarkNonSecureAsNeutral},
+ {IDS_MARK_NON_SECURE_AS_NON_SECURE,
+ security_state::switches::kMarkNonSecureAs,
+ security_state::switches::kMarkNonSecureAsNonSecure}};
const FeatureEntry::Choice kDataReductionProxyLoFiChoices[] = {
{ IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", "" },

Powered by Google App Engine
This is Rietveld 408576698