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

Side by Side Diff: chrome/browser/android/logo_service.h

Issue 1939783002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's nits 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_LOGO_SERVICE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_LOGO_SERVICE_H_
6 #define CHROME_BROWSER_ANDROID_LOGO_SERVICE_H_ 6 #define CHROME_BROWSER_ANDROID_LOGO_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/singleton.h" 9 #include "base/memory/singleton.h"
10 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 10 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
11 #include "components/keyed_service/core/keyed_service.h" 11 #include "components/keyed_service/core/keyed_service.h"
12 #include "components/search_provider_logos/logo_tracker.h" 12 #include "components/search_provider_logos/logo_tracker.h"
13 #include "third_party/skia/include/core/SkBitmap.h"
14 13
15 class Profile; 14 class Profile;
16 15
17 // Provides the logo for a profile's default search provider. 16 // Provides the logo for a profile's default search provider.
18 // 17 //
19 // Example usage: 18 // Example usage:
20 // LogoService* logo_service = LogoServiceFactory::GetForProfile(profile); 19 // LogoService* logo_service = LogoServiceFactory::GetForProfile(profile);
21 // logo_service->GetLogo(...); 20 // logo_service->GetLogo(...);
22 // 21 //
23 class LogoService : public KeyedService { 22 class LogoService : public KeyedService {
(...skipping 24 matching lines...) Expand all
48 47
49 LogoServiceFactory(); 48 LogoServiceFactory();
50 ~LogoServiceFactory() override; 49 ~LogoServiceFactory() override;
51 50
52 // BrowserContextKeyedServiceFactory: 51 // BrowserContextKeyedServiceFactory:
53 KeyedService* BuildServiceInstanceFor( 52 KeyedService* BuildServiceInstanceFor(
54 content::BrowserContext* context) const override; 53 content::BrowserContext* context) const override;
55 }; 54 };
56 55
57 #endif // CHROME_BROWSER_ANDROID_LOGO_SERVICE_H_ 56 #endif // CHROME_BROWSER_ANDROID_LOGO_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/compositor/layer_title_cache.h ('k') | content/public/browser/android/content_view_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698