| 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 efa20504f196449fcc1fc81e398f98b4ea1f7ef3..410a2d1452a34c04179383ab23ffa63a9c429397 100644
|
| --- a/chrome/browser/search/local_ntp_source.h
|
| +++ b/chrome/browser/search/local_ntp_source.h
|
| @@ -9,11 +9,13 @@
|
| #include "base/compiler_specific.h"
|
| #include "content/public/browser/url_data_source.h"
|
|
|
| +class Profile;
|
| +
|
| // Serves HTML and resources for the local new tab page i.e.
|
| // chrome-search://local-ntp/local-ntp.html
|
| class LocalNtpSource : public content::URLDataSource {
|
| public:
|
| - LocalNtpSource();
|
| + explicit LocalNtpSource(Profile* profile);
|
|
|
| private:
|
| virtual ~LocalNtpSource();
|
| @@ -30,6 +32,8 @@ class LocalNtpSource : public content::URLDataSource {
|
| const net::URLRequest* request) const OVERRIDE;
|
| virtual std::string GetContentSecurityPolicyFrameSrc() const OVERRIDE;
|
|
|
| + Profile* profile_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LocalNtpSource);
|
| };
|
|
|
|
|