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

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

Issue 2221123003: [NTP Snippets] Move kOfflinePageSuggestionsFeature into the component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@articles_feature
Patch Set: Created 4 years, 4 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
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 2b0d34c00893831e0b9575e10c9576d59cf97fe1..2745312fa0a38df28a8311531b1834d62a3d84fd 100644
--- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
+++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
@@ -18,7 +18,6 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_split.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 "components/ntp_snippets/features.h"
@@ -238,7 +237,7 @@ void SnippetsInternalsMessageHandler::SendAllContent() {
SendBoolean("flag-offline-page-suggestions",
base::FeatureList::IsEnabled(
- chrome::android::kNTPOfflinePageSuggestionsFeature));
+ ntp_snippets::kOfflinePageSuggestionsFeature));
web_ui()->CallJavascriptFunctionUnsafe(
"chrome.SnippetsInternals.setHostRestricted",
« no previous file with comments | « chrome/browser/ntp_snippets/content_suggestions_service_factory.cc ('k') | components/ntp_snippets/features.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698