Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_ H_ | |
| 6 #define IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SINK_ H_ | |
| 7 | |
| 8 // Data sink for the ContentSuggestions. It will be notified when new data need | |
| 9 // to be pulled. | |
| 10 @protocol ContentSuggestionsDataSink | |
| 11 | |
| 12 // Notifies the Data Sink that new data are available. | |
|
marq (ping after 24h)
2017/01/27 12:44:55
Super nit: 'data' is the plural of the singular 'd
gambard
2017/01/30 15:19:17
Oh. Ok, I always treated it as plural.
| |
| 13 - (void)dataAvailable; | |
|
marq (ping after 24h)
2017/01/27 12:44:55
This is interesting to consider and I don't have a
gambard
2017/01/30 15:19:17
By your own documentation: "The dataSource pattern
| |
| 14 | |
| 15 @end | |
| 16 | |
| 17 #endif // IOS_CHROME_BROWSER_UI_CONTENT_SUGGESTIONS_CONTENT_SUGGESTIONS_DATA_SI NK_H_ | |
| OLD | NEW |