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

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

Issue 1956393002: Add a feature flag for enabling transparent doodle request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@transparent-doodle
Patch Set: Merge with master Created 4 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 | « chrome/browser/android/chrome_feature_list.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/logo_service.cc
diff --git a/chrome/browser/android/logo_service.cc b/chrome/browser/android/logo_service.cc
index e89109c38a075b1bb5b27f93369c2b40b5c5999a..6a980230f383003b800c1ae71459740a318d2a82 100644
--- a/chrome/browser/android/logo_service.cc
+++ b/chrome/browser/android/logo_service.cc
@@ -4,9 +4,11 @@
#include "chrome/browser/android/logo_service.h"
+#include "base/feature_list.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
#include "base/thread_task_runner_handle.h"
+#include "chrome/browser/android/chrome_feature_list.h"
#include "chrome/browser/image_decoder.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/search_engines/template_url_service_factory.h"
@@ -126,7 +128,7 @@ void LogoService::GetLogo(search_provider_logos::LogoObserver* observer) {
base::Bind(&search_provider_logos::GoogleParseLogoResponse),
base::Bind(&search_provider_logos::GoogleAppendQueryparamsToLogoURL),
true, /* wants_cta */
- false /* transparent */);
+ base::FeatureList::IsEnabled(chrome::android::kNTPTransparentDoodle));
logo_tracker_->GetLogo(observer);
}
« no previous file with comments | « chrome/browser/android/chrome_feature_list.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698