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

Unified Diff: chrome/browser/about_flags.cc

Issue 2854893003: Adding an Android about:flags feature for offline previews (Closed)
Patch Set: rebase on enums.xml Created 3 years, 7 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') | no next file with comments »
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 8045063b5dfbe080bdfce6f9bda765d5b4eb5d92..5394eadd528cbb31b76abc965bc7efcf81ac41cc 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"
@@ -1872,6 +1873,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698