| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace user_prefs { | 46 namespace user_prefs { |
| 47 class PrefRegistrySyncable; | 47 class PrefRegistrySyncable; |
| 48 } | 48 } |
| 49 | 49 |
| 50 @protocol AppRatingPrompt; | 50 @protocol AppRatingPrompt; |
| 51 @protocol InfoBarViewProtocol; | 51 @protocol InfoBarViewProtocol; |
| 52 @protocol LogoVendor; | 52 @protocol LogoVendor; |
| 53 @protocol TextFieldStyling; | 53 @protocol TextFieldStyling; |
| 54 @protocol NativeAppWhitelistManager; |
| 54 @class UITextField; | 55 @class UITextField; |
| 55 @class UIView; | 56 @class UIView; |
| 56 @protocol UrlLoader; | 57 @protocol UrlLoader; |
| 57 typedef UIView<InfoBarViewProtocol>* InfoBarViewPlaceholder; | 58 typedef UIView<InfoBarViewProtocol>* InfoBarViewPlaceholder; |
| 58 | 59 |
| 59 namespace ios { | 60 namespace ios { |
| 60 | 61 |
| 61 class ChromeBrowserProvider; | 62 class ChromeBrowserProvider; |
| 62 class ChromeBrowserState; | 63 class ChromeBrowserState; |
| 63 class ChromeIdentityService; | 64 class ChromeIdentityService; |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // Returns an instance of the omaha service provider. | 168 // Returns an instance of the omaha service provider. |
| 168 virtual OmahaServiceProvider* GetOmahaServiceProvider() const; | 169 virtual OmahaServiceProvider* GetOmahaServiceProvider() const; |
| 169 | 170 |
| 170 // Returns the SyncedWindowDelegatesGetter implementation. | 171 // Returns the SyncedWindowDelegatesGetter implementation. |
| 171 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> | 172 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> |
| 172 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); | 173 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); |
| 173 | 174 |
| 174 // TODO(rohitrao): This is a temporary method, used to prevent the tree from | 175 // TODO(rohitrao): This is a temporary method, used to prevent the tree from |
| 175 // breaking due to duplicate prefs registration. | 176 // breaking due to duplicate prefs registration. |
| 176 virtual bool ShouldEmbedderRegisterVoiceSearchPrefs() const; | 177 virtual bool ShouldEmbedderRegisterVoiceSearchPrefs() const; |
| 178 |
| 179 // Returns the NativeAppWhitelistManager implementation. |
| 180 virtual id<NativeAppWhitelistManager> GetNativeAppWhitelistManager() const; |
| 177 }; | 181 }; |
| 178 | 182 |
| 179 } // namespace ios | 183 } // namespace ios |
| 180 | 184 |
| 181 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ | 185 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ |
| OLD | NEW |