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

Unified Diff: chrome/browser/about_flags.cc

Issue 2854893003: Adding an Android about:flags feature for offline previews (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | chrome/browser/flag_descriptions.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index b0944a345e5e18b8daf694575cfae03ae31f4e0d..95ee9aff6c58b5314df9ffa1a9de78e5f8fbb447 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -57,6 +57,7 @@
#include "components/omnibox/browser/omnibox_field_trial.h"
#include "components/omnibox/browser/omnibox_switches.h"
#include "components/password_manager/core/common/password_manager_features.h"
+#include "components/previews/core/previews_features.h"
#include "components/proximity_auth/switches.h"
#include "components/security_state/core/security_state.h"
#include "components/security_state/core/switches.h"
@@ -1827,6 +1828,9 @@ const FeatureEntry kFeatureEntries[] = {
kOsAndroid,
FEATURE_VALUE_TYPE(
data_reduction_proxy::features::kDataReductionSiteBreakdown)},
+ {"enable-offline-previews", flag_descriptions::kEnableOfflinePreviewsName,
+ flag_descriptions::kEnableOfflinePreviewsDescription, kOsAndroid,
+ FEATURE_VALUE_TYPE(previews::features::kOfflinePreviews)},
#endif // OS_ANDROID
{"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhost,
flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll,
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | chrome/browser/flag_descriptions.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698