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

Unified Diff: chrome/browser/android/logo_bridge.cc

Issue 2763033002: [Doodle] Add an about:flags entry for the new Doodle API (Closed)
Patch Set: histograms Created 3 years, 9 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/android/chrome_feature_list.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/logo_bridge.cc
diff --git a/chrome/browser/android/logo_bridge.cc b/chrome/browser/android/logo_bridge.cc
index 347441e40b42e63e34875aeb6e961fa996cdfd48..e97d91727273eaf50c3378a5020f79ce07db2d87 100644
--- a/chrome/browser/android/logo_bridge.cc
+++ b/chrome/browser/android/logo_bridge.cc
@@ -14,6 +14,7 @@
#include "base/bind.h"
#include "base/feature_list.h"
#include "base/metrics/histogram_macros.h"
+#include "chrome/browser/android/chrome_feature_list.h"
#include "chrome/browser/android/logo_service.h"
#include "chrome/browser/doodle/doodle_service_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -39,9 +40,6 @@ using base::android::ToJavaByteArray;
namespace {
-const base::Feature kUseNewDoodleApi{"UseNewDoodleApi",
- base::FEATURE_DISABLED_BY_DEFAULT};
-
ScopedJavaLocalRef<jobject> MakeJavaLogo(JNIEnv* env,
const SkBitmap* bitmap,
const GURL& on_click_url,
@@ -198,7 +196,7 @@ LogoBridge::LogoBridge(jobject j_profile)
Profile* profile = ProfileAndroid::FromProfileAndroid(j_profile);
DCHECK(profile);
- if (base::FeatureList::IsEnabled(kUseNewDoodleApi)) {
+ if (base::FeatureList::IsEnabled(chrome::android::kUseNewDoodleApi)) {
doodle_service_ = DoodleServiceFactory::GetForProfile(profile);
image_fetcher_ = base::MakeUnique<image_fetcher::ImageFetcherImpl>(
base::MakeUnique<suggestions::ImageDecoderImpl>(),
« no previous file with comments | « chrome/browser/android/chrome_feature_list.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698