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

Side by Side Diff: ios/public/provider/chrome/browser/chrome_browser_provider.h

Issue 2521493003: [ios] Adds BrandedImageProvider and its associated image resources. (Closed)
Patch Set: Review Created 4 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 5 #ifndef IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
7 7
8 #include <CoreGraphics/CoreGraphics.h> 8 #include <CoreGraphics/CoreGraphics.h>
9 #import <Foundation/Foundation.h> 9 #import <Foundation/Foundation.h>
10 #include <stddef.h> 10 #include <stddef.h>
11 11
12 #include <memory> 12 #include <memory>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/callback_forward.h" 16 #include "base/callback_forward.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "components/favicon_base/favicon_callback.h" 18 #include "components/favicon_base/favicon_callback.h"
19 19
20 class AppDistributionProvider; 20 class AppDistributionProvider;
21 class AutocompleteProvider; 21 class AutocompleteProvider;
22 class BrandedImageProvider;
22 class GURL; 23 class GURL;
23 class InfoBarViewDelegate; 24 class InfoBarViewDelegate;
24 class OmahaServiceProvider; 25 class OmahaServiceProvider;
25 class PrefRegistrySimple; 26 class PrefRegistrySimple;
26 class PrefService; 27 class PrefService;
27 class VoiceSearchProvider; 28 class VoiceSearchProvider;
28 29
29 namespace autofill { 30 namespace autofill {
30 class CardUnmaskPromptController; 31 class CardUnmaskPromptController;
31 class CardUnmaskPromptView; 32 class CardUnmaskPromptView;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 ios::ChromeBrowserState* browser_state, 169 ios::ChromeBrowserState* browser_state,
169 id<UrlLoader> loader) const NS_RETURNS_RETAINED; 170 id<UrlLoader> loader) const NS_RETURNS_RETAINED;
170 171
171 // Returns an instance of the omaha service provider. 172 // Returns an instance of the omaha service provider.
172 virtual OmahaServiceProvider* GetOmahaServiceProvider() const; 173 virtual OmahaServiceProvider* GetOmahaServiceProvider() const;
173 174
174 // Returns the SyncedWindowDelegatesGetter implementation. 175 // Returns the SyncedWindowDelegatesGetter implementation.
175 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> 176 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter>
176 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); 177 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state);
177 178
179 // Returns an instance of the branded image provider.
180 virtual BrandedImageProvider* GetBrandedImageProvider() const;
181
178 // Returns the NativeAppWhitelistManager implementation. 182 // Returns the NativeAppWhitelistManager implementation.
179 virtual id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const; 183 virtual id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const;
180 184
181 // Hides immediately the modals related to this provider. 185 // Hides immediately the modals related to this provider.
182 virtual void HideModalViewStack() const; 186 virtual void HideModalViewStack() const;
183 187
184 // Logs if any modals created by this provider are still presented. It does 188 // Logs if any modals created by this provider are still presented. It does
185 // not dismiss them. 189 // not dismiss them.
186 virtual void LogIfModalViewsArePresented() const; 190 virtual void LogIfModalViewsArePresented() const;
187 }; 191 };
188 192
189 } // namespace ios 193 } // namespace ios
190 194
191 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 195 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/BUILD.gn ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698