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

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

Issue 2611963002: Remove ChromeBrowserProvider::CreateSyncedWindowDelegatesGetter(). (Closed)
Patch Set: Rebase. Created 3 years, 11 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 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 18
19 class AppDistributionProvider; 19 class AppDistributionProvider;
20 class BrandedImageProvider; 20 class BrandedImageProvider;
21 class OmahaServiceProvider; 21 class OmahaServiceProvider;
22 class SpotlightProvider; 22 class SpotlightProvider;
23 class UserFeedbackProvider; 23 class UserFeedbackProvider;
24 class VoiceSearchProvider; 24 class VoiceSearchProvider;
25 25
26 namespace web { 26 namespace web {
27 class WebState; 27 class WebState;
28 } 28 }
29 29
30 namespace sync_sessions {
31 class SyncedWindowDelegatesGetter;
32 }
33
34 @protocol AppRatingPrompt; 30 @protocol AppRatingPrompt;
35 @protocol LogoVendor; 31 @protocol LogoVendor;
36 @protocol TextFieldStyling; 32 @protocol TextFieldStyling;
37 @protocol NativeAppWhitelistManager; 33 @protocol NativeAppWhitelistManager;
38 @class UITextField; 34 @class UITextField;
39 @class UIView; 35 @class UIView;
40 @protocol UrlLoader; 36 @protocol UrlLoader;
41 37
42 namespace ios { 38 namespace ios {
43 39
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual id<LogoVendor> CreateLogoVendor( 120 virtual id<LogoVendor> CreateLogoVendor(
125 ios::ChromeBrowserState* browser_state, 121 ios::ChromeBrowserState* browser_state,
126 id<UrlLoader> loader) const NS_RETURNS_RETAINED; 122 id<UrlLoader> loader) const NS_RETURNS_RETAINED;
127 123
128 // Returns an instance of the omaha service provider. 124 // Returns an instance of the omaha service provider.
129 virtual OmahaServiceProvider* GetOmahaServiceProvider() const; 125 virtual OmahaServiceProvider* GetOmahaServiceProvider() const;
130 126
131 // Returns an instance of the user feedback provider. 127 // Returns an instance of the user feedback provider.
132 virtual UserFeedbackProvider* GetUserFeedbackProvider() const; 128 virtual UserFeedbackProvider* GetUserFeedbackProvider() const;
133 129
134 // Returns the SyncedWindowDelegatesGetter implementation.
135 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter>
136 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state);
137
138 // Returns an instance of the branded image provider. 130 // Returns an instance of the branded image provider.
139 virtual BrandedImageProvider* GetBrandedImageProvider() const; 131 virtual BrandedImageProvider* GetBrandedImageProvider() const;
140 132
141 // Returns the NativeAppWhitelistManager implementation. 133 // Returns the NativeAppWhitelistManager implementation.
142 virtual id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const; 134 virtual id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const;
143 135
144 // Hides immediately the modals related to this provider. 136 // Hides immediately the modals related to this provider.
145 virtual void HideModalViewStack() const; 137 virtual void HideModalViewStack() const;
146 138
147 // Logs if any modals created by this provider are still presented. It does 139 // Logs if any modals created by this provider are still presented. It does
148 // not dismiss them. 140 // not dismiss them.
149 virtual void LogIfModalViewsArePresented() const; 141 virtual void LogIfModalViewsArePresented() const;
150 142
151 // Returns an instance of the spotlight provider. 143 // Returns an instance of the spotlight provider.
152 virtual SpotlightProvider* GetSpotlightProvider() const; 144 virtual SpotlightProvider* GetSpotlightProvider() const;
153 }; 145 };
154 146
155 } // namespace ios 147 } // namespace ios
156 148
157 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ 149 #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