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

Unified Diff: chrome/browser/ui/webui/snippets_internals_message_handler.cc

Issue 2614733002: [NTP::PhysicalWeb] Enable by default and depend on physical web flag. (Closed)
Patch Set: clean rebase. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/snippets_internals.html ('k') | components/ntp_snippets/features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/snippets_internals_message_handler.cc
diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.cc b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
index 0eede3f0090ffe707e5dcb1a0484b831c05add39..d2bca2c19f445575f5e00b8b37ac82f839715a60 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
@@ -21,6 +21,7 @@
#include "base/strings/string_split.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
+#include "chrome/browser/android/chrome_feature_list.h"
#include "chrome/browser/ntp_snippets/content_suggestions_service_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_features.h"
@@ -298,6 +299,9 @@ void SnippetsInternalsMessageHandler::SendAllContent() {
base::FeatureList::IsEnabled(
ntp_snippets::kPhysicalWebPageSuggestionsFeature));
+ SendBoolean("flag-physical-web", base::FeatureList::IsEnabled(
+ chrome::android::kPhysicalWebFeature));
+
SendClassification();
SendLastRemoteSuggestionsBackgroundFetchTime();
« no previous file with comments | « chrome/browser/resources/snippets_internals.html ('k') | components/ntp_snippets/features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698