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 #include <stddef.h> | 9 #include <stddef.h> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 virtual ChromeBrowserStateManager* GetChromeBrowserStateManager(); | 101 virtual ChromeBrowserStateManager* GetChromeBrowserStateManager(); |
| 102 // Returns an infobar view conforming to the InfoBarViewProtocol. The returned | 102 // Returns an infobar view conforming to the InfoBarViewProtocol. The returned |
| 103 // object is retained. | 103 // object is retained. |
| 104 virtual InfoBarViewPlaceholder CreateInfoBarView( | 104 virtual InfoBarViewPlaceholder CreateInfoBarView( |
| 105 CGRect frame, | 105 CGRect frame, |
| 106 InfoBarViewDelegate* delegate); | 106 InfoBarViewDelegate* delegate); |
| 107 // Returns an instance of a signin resources provider. | 107 // Returns an instance of a signin resources provider. |
| 108 virtual SigninResourcesProvider* GetSigninResourcesProvider(); | 108 virtual SigninResourcesProvider* GetSigninResourcesProvider(); |
| 109 // Returns an instance of a Chrome identity service. | 109 // Returns an instance of a Chrome identity service. |
| 110 virtual ChromeIdentityService* GetChromeIdentityService(); | 110 virtual ChromeIdentityService* GetChromeIdentityService(); |
| 111 // Returns an instance of a signin resources provider. | |
| 112 virtual SigninResourcesProvider* GetSigninResourcesProvider(); | |
|
droger
2015/11/23 16:45:12
This is already declared above.
sdefresne
2015/11/23 17:00:20
Thank you for catching.
| |
| 111 // Returns an instance of a string provider. | 113 // Returns an instance of a string provider. |
| 112 virtual StringProvider* GetStringProvider(); | 114 virtual StringProvider* GetStringProvider(); |
| 113 // Returns an instance of a LiveTabContextProvider. | 115 // Returns an instance of a LiveTabContextProvider. |
| 114 virtual LiveTabContextProvider* GetLiveTabContextProvider(); | 116 virtual LiveTabContextProvider* GetLiveTabContextProvider(); |
| 115 virtual scoped_ptr<IOSChromeBrowsingDataRemoverProvider> | 117 virtual scoped_ptr<IOSChromeBrowsingDataRemoverProvider> |
| 116 GetIOSChromeBrowsingDataRemoverProvider(ChromeBrowserState* browser_state); | 118 GetIOSChromeBrowsingDataRemoverProvider(ChromeBrowserState* browser_state); |
| 117 virtual GeolocationUpdaterProvider* GetGeolocationUpdaterProvider(); | 119 virtual GeolocationUpdaterProvider* GetGeolocationUpdaterProvider(); |
| 118 // Returns "enabled", "disabled", or "default". | 120 // Returns "enabled", "disabled", or "default". |
| 119 virtual std::string DataReductionProxyAvailability(); | 121 virtual std::string DataReductionProxyAvailability(); |
| 120 // Returns the distribution brand code. | 122 // Returns the distribution brand code. |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 148 virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback); | 150 virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback); |
| 149 | 151 |
| 150 // Called when the IOSChromeMetricsServiceClientManager instance is | 152 // Called when the IOSChromeMetricsServiceClientManager instance is |
| 151 // destroyed. | 153 // destroyed. |
| 152 virtual void OnMetricsServicesManagerClientDestroyed(); | 154 virtual void OnMetricsServicesManagerClientDestroyed(); |
| 153 }; | 155 }; |
| 154 | 156 |
| 155 } // namespace ios | 157 } // namespace ios |
| 156 | 158 |
| 157 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ | 159 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ |
| OLD | NEW |