Index: components/ntp_snippets/ntp_snippet.h |
diff --git a/components/ntp_snippets/ntp_snippet.h b/components/ntp_snippets/ntp_snippet.h |
index 416cffca7dbedbd016b845a4271d2416c0d4d96d..e4e4eae9ef5c2c4cc3978599a0beb936c72e047f 100644 |
--- a/components/ntp_snippets/ntp_snippet.h |
+++ b/components/ntp_snippets/ntp_snippet.h |
@@ -126,7 +126,8 @@ class NTPSnippet { |
bool is_discarded() const { return is_discarded_; } |
void set_discarded(bool discarded) { is_discarded_ = discarded; } |
- std::unique_ptr<ContentSuggestion> ToContentSuggestion() const; |
+ std::unique_ptr<ContentSuggestion> ToContentSuggestion( |
+ const std::string& id) const; |
Marc Treib
2016/07/05 13:17:12
Mh, this is ugly... so the caller has to get the I
Philipp Keck
2016/07/05 13:52:00
Done. Now that MakeUniqueID is static, that call c
|
// Public for testing. |
static base::Time TimeFromJsonString(const std::string& timestamp_str); |