Chromium Code Reviews| Index: components/ntp_snippets/ntp_snippet.h |
| diff --git a/components/ntp_snippets/ntp_snippet.h b/components/ntp_snippets/ntp_snippet.h |
| index 20c7fe732711a6b4d48d433529d4eff0c58a62d7..52f1a6a300c1d8dcefe5d9f0b328a752d69b7c13 100644 |
| --- a/components/ntp_snippets/ntp_snippet.h |
| +++ b/components/ntp_snippets/ntp_snippet.h |
| @@ -57,6 +57,9 @@ class NTPSnippet { |
| // CreateFromDictionary() the relevant key is 'url'. |
| // TODO(treib): For now, the ID has to be a valid URL spec, otherwise |
| // fetching the salient image will fail. See TODO in ntp_snippets_service.cc. |
| + // TODO(tschumann): With the new data layout based on the zine backend service |
| + // protos, we should distinguish between an ID (should only be used by the JNI |
| + // bridge) and a URL (used by snipets internal page etc.). |
|
Marc Treib
2016/05/18 15:19:33
Not quite sure how to read this comment... we alre
tschumann
2016/05/18 17:09:16
IMO we should properly distinguish the ID from URL
Marc Treib
2016/05/18 18:58:05
IMO the internals page should show everything we h
tschumann
2016/05/18 19:23:28
Removed the comment. As it's not too clear as of t
|
| const std::string& id() const { return id_; } |
| // Title of the snippet. |