| 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> |
| 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 GURL; | 22 class GURL; |
| 23 class InfoBarViewDelegate; | 23 class InfoBarViewDelegate; |
| 24 class OmahaServiceProvider; |
| 24 class PrefRegistrySimple; | 25 class PrefRegistrySimple; |
| 25 class PrefService; | 26 class PrefService; |
| 26 class VoiceSearchProvider; | 27 class VoiceSearchProvider; |
| 27 | 28 |
| 28 namespace autofill { | 29 namespace autofill { |
| 29 class CardUnmaskPromptController; | 30 class CardUnmaskPromptController; |
| 30 class CardUnmaskPromptView; | 31 class CardUnmaskPromptView; |
| 31 } | 32 } |
| 32 | 33 |
| 33 namespace net { | 34 namespace net { |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 157 |
| 157 // Returns an instance of the app distribution provider. | 158 // Returns an instance of the app distribution provider. |
| 158 virtual AppDistributionProvider* GetAppDistributionProvider() const; | 159 virtual AppDistributionProvider* GetAppDistributionProvider() const; |
| 159 | 160 |
| 160 // Creates and returns an object that can fetch and vend search engine logos. | 161 // Creates and returns an object that can fetch and vend search engine logos. |
| 161 // The caller assumes ownership of the returned object. | 162 // The caller assumes ownership of the returned object. |
| 162 virtual id<LogoVendor> CreateLogoVendor( | 163 virtual id<LogoVendor> CreateLogoVendor( |
| 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 |
| 167 // Returns an instance of the omaha service provider. |
| 168 virtual OmahaServiceProvider* GetOmahaServiceProvider() const; |
| 169 |
| 166 // Returns the SyncedWindowDelegatesGetter implementation. | 170 // Returns the SyncedWindowDelegatesGetter implementation. |
| 167 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> | 171 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> |
| 168 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); | 172 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); |
| 169 | 173 |
| 170 // TODO(rohitrao): This is a temporary method, used to prevent the tree from | 174 // TODO(rohitrao): This is a temporary method, used to prevent the tree from |
| 171 // breaking due to duplicate prefs registration. | 175 // breaking due to duplicate prefs registration. |
| 172 virtual bool ShouldEmbedderRegisterVoiceSearchPrefs() const; | 176 virtual bool ShouldEmbedderRegisterVoiceSearchPrefs() const; |
| 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 |