Chromium Code Reviews| OLD | NEW |
|---|---|
| 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> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 43 } | 43 } |
| 44 | 44 |
| 45 namespace user_prefs { | 45 namespace user_prefs { |
| 46 class PrefRegistrySyncable; | 46 class PrefRegistrySyncable; |
| 47 } | 47 } |
| 48 | 48 |
| 49 @protocol AppRatingPrompt; | 49 @protocol AppRatingPrompt; |
| 50 @protocol InfoBarViewProtocol; | 50 @protocol InfoBarViewProtocol; |
| 51 @protocol LogoVendor; | 51 @protocol LogoVendor; |
| 52 @protocol TextFieldStyling; | 52 @protocol TextFieldStyling; |
| 53 @protocol NativeAppWhitelistManager; | |
| 53 @class UITextField; | 54 @class UITextField; |
| 54 @class UIView; | 55 @class UIView; |
| 55 @protocol UrlLoader; | 56 @protocol UrlLoader; |
| 56 typedef UIView<InfoBarViewProtocol>* InfoBarViewPlaceholder; | 57 typedef UIView<InfoBarViewProtocol>* InfoBarViewPlaceholder; |
| 57 | 58 |
| 58 namespace ios { | 59 namespace ios { |
| 59 | 60 |
| 60 class ChromeBrowserProvider; | 61 class ChromeBrowserProvider; |
| 61 class ChromeBrowserState; | 62 class ChromeBrowserState; |
| 62 class ChromeIdentityService; | 63 class ChromeIdentityService; |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 163 ios::ChromeBrowserState* browser_state, | 164 ios::ChromeBrowserState* browser_state, |
| 164 id<UrlLoader> loader) const NS_RETURNS_RETAINED; | 165 id<UrlLoader> loader) const NS_RETURNS_RETAINED; |
| 165 | 166 |
| 166 // Returns the SyncedWindowDelegatesGetter implementation. | 167 // Returns the SyncedWindowDelegatesGetter implementation. |
| 167 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> | 168 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> |
| 168 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); | 169 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); |
| 169 | 170 |
| 170 // TODO(rohitrao): This is a temporary method, used to prevent the tree from | 171 // TODO(rohitrao): This is a temporary method, used to prevent the tree from |
| 171 // breaking due to duplicate prefs registration. | 172 // breaking due to duplicate prefs registration. |
| 172 virtual bool ShouldEmbedderRegisterVoiceSearchPrefs() const; | 173 virtual bool ShouldEmbedderRegisterVoiceSearchPrefs() const; |
| 174 | |
| 175 // Returns the NativeAppWhitelistManager implementation. | |
| 176 virtual id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const; | |
|
rohitrao (ping after 24h)
2016/11/09 02:19:21
Also update TestChromeBrowserProvider to override
sczs1
2016/11/10 03:30:19
Done.
| |
| 173 }; | 177 }; |
| 174 | 178 |
| 175 } // namespace ios | 179 } // namespace ios |
| 176 | 180 |
| 177 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ | 181 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ |
| OLD | NEW |