Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Unified Diff: chrome/browser/dom_ui/new_tab_ui.cc

Issue 6546078: Makes a handful of DataSources not replace the existing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_ui/new_tab_ui.cc
diff --git a/chrome/browser/dom_ui/new_tab_ui.cc b/chrome/browser/dom_ui/new_tab_ui.cc
index 6594e1cb4f69e7e0f7b63159542cc0694eab9de4..b1db438fc2c19db81e9c2b28f9fa87c4269ba83e 100644
--- a/chrome/browser/dom_ui/new_tab_ui.cc
+++ b/chrome/browser/dom_ui/new_tab_ui.cc
@@ -598,3 +598,7 @@ void NewTabUI::NewTabHTMLSource::StartDataRequest(const std::string& path,
std::string NewTabUI::NewTabHTMLSource::GetMimeType(const std::string&) const {
return "text/html";
}
+
+bool NewTabUI::NewTabHTMLSource::ShouldReplaceExistingSource() const {
+ return false;
+}

Powered by Google App Engine
This is Rietveld 408576698