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

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

Issue 1343913002: Introduce Animated Logo to Chrome on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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/android/logo_service.h
diff --git a/chrome/browser/android/logo_service.h b/chrome/browser/android/logo_service.h
index 441c6e21b188bd670d5883c4d18968f7abc0c657..1158b918b792abdaada4d3d7d5ccb5828533adb6 100644
--- a/chrome/browser/android/logo_service.h
+++ b/chrome/browser/android/logo_service.h
@@ -8,6 +8,7 @@
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
#include "components/keyed_service/core/keyed_service.h"
+#include "components/search_provider_logos/animated_logo_tracker.h"
#include "components/search_provider_logos/logo_tracker.h"
#include "third_party/skia/include/core/SkBitmap.h"
@@ -28,9 +29,16 @@ class LogoService : public KeyedService {
// with the results.
void GetLogo(search_provider_logos::LogoObserver* observer);
+ // Gets the animated logo for the default search provider. If downloaded
+ // successfully, the given callback will be called.
+ void GetAnimatedLogo(
+ const GURL& animated_logo_url,
+ const search_provider_logos::AnimatedLogoCallback& callback);
+
private:
Profile* profile_;
scoped_ptr<search_provider_logos::LogoTracker> logo_tracker_;
+ scoped_ptr<search_provider_logos::AnimatedLogoTracker> animated_logo_tracker_;
DISALLOW_COPY_AND_ASSIGN(LogoService);
};

Powered by Google App Engine
This is Rietveld 408576698