| Index: components/ntp_snippets/ntp_snippet.h
|
| diff --git a/components/ntp_snippets/ntp_snippet.h b/components/ntp_snippets/ntp_snippet.h
|
| index ead67b85c8e0cecef43c63880fb7f5fdddd2b4ea..d3a40606b7600a7a673b35cd218bda7759055012 100644
|
| --- a/components/ntp_snippets/ntp_snippet.h
|
| +++ b/components/ntp_snippets/ntp_snippet.h
|
| @@ -79,6 +79,10 @@ class NTPSnippet {
|
| expiry_date_ = expiry_date;
|
| }
|
|
|
| + // Public for testing.
|
| + static base::Time TimeFromJsonString(const std::string& timestamp_str);
|
| + static std::string TimeToJsonString(const base::Time& time);
|
| +
|
| private:
|
| const GURL url_;
|
| std::string site_title_;
|
|
|