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 57e1fe438fee44379038492c98ab944b40fccc4b..d86aacef8f0a87cd00d74577e66b1a8241b45507 100644 |
| --- a/chrome/browser/search/local_ntp_source.cc |
| +++ b/chrome/browser/search/local_ntp_source.cc |
| @@ -37,6 +37,7 @@ const char kMaterialDesignNTPFieldTrialName[] = "MaterialDesignNTP"; |
| const char kMaterialDesignNTPFieldTrialEnabledPrefix[] = "Enabled"; |
| // Name to be used for the new design in local resources. |
|
Mathieu
2014/08/14 15:05:39
update comment
huangs
2014/08/14 15:50:21
Done.
|
| +const char kClassicalNTPName[] = "classical"; |
| const char kMaterialDesignNTPName[] = "md"; |
| // Signifies a locally constructed resource, i.e. not from grit/. |
| @@ -188,7 +189,7 @@ void LocalNtpSource::StartDataRequest( |
| if (stripped_path == kLocalNTPFilename) { |
| SendResourceWithClass( |
| IDR_LOCAL_NTP_HTML, |
| - IsMaterialDesignEnabled() ? kMaterialDesignNTPName : "", |
| + IsMaterialDesignEnabled() ? kMaterialDesignNTPName : kClassicalNTPName, |
| callback); |
| return; |
| } |