Index: chrome/browser/search/local_ntp_source.h |
diff --git a/chrome/browser/search/local_ntp_source.h b/chrome/browser/search/local_ntp_source.h |
index c4085232817fb30506fe9087638ddbfcdb212c92..03e02cf883ddd6e3377b465a922660a01dc6851d 100644 |
--- a/chrome/browser/search/local_ntp_source.h |
+++ b/chrome/browser/search/local_ntp_source.h |
@@ -31,6 +31,18 @@ class LocalNtpSource : public content::URLDataSource { |
bool ShouldServiceRequest(const net::URLRequest* request) const override; |
std::string GetContentSecurityPolicyFrameSrc() const override; |
+ // Helper methods for inlining sources from <include> directives: |
+ static void FlattenLocalInclude( |
+ const content::URLDataSource::GotDataCallback& callback, |
+ std::string topLevelResource, |
+ base::RefCountedMemory* inlineResource); |
+ static void CheckLocalIncludes( |
+ const content::URLDataSource::GotDataCallback& callback, |
+ base::RefCountedMemory* resource); |
+ static void CheckLocalIncludesHelper( |
+ const content::URLDataSource::GotDataCallback& callback, |
+ std::string resource); |
+ |
Profile* profile_; |
DISALLOW_COPY_AND_ASSIGN(LocalNtpSource); |