Chromium Code Reviews| Index: chrome/browser/search/local_ntp_source.cc |
| diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc |
| index b192b0beb166311c2e3ca3e34e39ec621764857f..839910c09f2170a86fcb4edc7de12177691e0552 100644 |
| --- a/chrome/browser/search/local_ntp_source.cc |
| +++ b/chrome/browser/search/local_ntp_source.cc |
| @@ -250,6 +250,10 @@ std::string LocalNtpSource::GetMimeType( |
| return std::string(); |
| } |
| +bool LocalNtpSource::AllowCaching() const { |
| + return false; |
|
Marc Treib
2016/11/29 14:52:22
Could you add a comment about why this is necessar
Takashi Toyoshima
2016/11/30 05:54:38
Done.
|
| +} |
| + |
| bool LocalNtpSource::ShouldServiceRequest( |
| const net::URLRequest* request) const { |
| DCHECK(request->url().host_piece() == chrome::kChromeSearchLocalNtpHost); |