| 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 10 matching lines...) Expand all Loading... |
| 21 class GURL; | 21 class GURL; |
| 22 class InfoBarViewDelegate; | 22 class InfoBarViewDelegate; |
| 23 class PrefRegistrySimple; | 23 class PrefRegistrySimple; |
| 24 class PrefService; | 24 class PrefService; |
| 25 | 25 |
| 26 namespace autofill { | 26 namespace autofill { |
| 27 class CardUnmaskPromptController; | 27 class CardUnmaskPromptController; |
| 28 class CardUnmaskPromptView; | 28 class CardUnmaskPromptView; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace browser_sync { | |
| 32 class SyncedWindowDelegatesGetter; | |
| 33 } | |
| 34 | |
| 35 namespace net { | 31 namespace net { |
| 36 class URLRequestContextGetter; | 32 class URLRequestContextGetter; |
| 37 } | 33 } |
| 38 | 34 |
| 35 namespace sync_sessions { |
| 36 class SyncedWindowDelegatesGetter; |
| 37 } |
| 38 |
| 39 namespace user_prefs { | 39 namespace user_prefs { |
| 40 class PrefRegistrySyncable; | 40 class PrefRegistrySyncable; |
| 41 } | 41 } |
| 42 | 42 |
| 43 @class UIView; | 43 @class UIView; |
| 44 @protocol InfoBarViewProtocol; | 44 @protocol InfoBarViewProtocol; |
| 45 typedef UIView<InfoBarViewProtocol>* InfoBarViewPlaceholder; | 45 typedef UIView<InfoBarViewProtocol>* InfoBarViewPlaceholder; |
| 46 | 46 |
| 47 namespace ios { | 47 namespace ios { |
| 48 | 48 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 ChromeBrowserState* browser_state, | 108 ChromeBrowserState* browser_state, |
| 109 const GURL& page_url, | 109 const GURL& page_url, |
| 110 const std::vector<int>& desired_sizes_in_pixel, | 110 const std::vector<int>& desired_sizes_in_pixel, |
| 111 const favicon_base::FaviconResultsCallback& callback) const; | 111 const favicon_base::FaviconResultsCallback& callback) const; |
| 112 | 112 |
| 113 // Returns whether safe browsing is enabled. See the comment on | 113 // Returns whether safe browsing is enabled. See the comment on |
| 114 // metrics_services_manager_client.h for details on |on_update_callback|. | 114 // metrics_services_manager_client.h for details on |on_update_callback|. |
| 115 virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback); | 115 virtual bool IsSafeBrowsingEnabled(const base::Closure& on_update_callback); |
| 116 | 116 |
| 117 // Returns the SyncedWindowDelegatesGetter implementation. | 117 // Returns the SyncedWindowDelegatesGetter implementation. |
| 118 virtual std::unique_ptr<browser_sync::SyncedWindowDelegatesGetter> | 118 virtual std::unique_ptr<sync_sessions::SyncedWindowDelegatesGetter> |
| 119 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); | 119 CreateSyncedWindowDelegatesGetter(ios::ChromeBrowserState* browser_state); |
| 120 }; | 120 }; |
| 121 | 121 |
| 122 } // namespace ios | 122 } // namespace ios |
| 123 | 123 |
| 124 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ | 124 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_CHROME_BROWSER_PROVIDER_H_ |
| OLD | NEW |