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

Unified Diff: chrome/browser/net/predictor_api.cc

Issue 7215034: Apply CSP to chrome: and about: pages (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/about_credits.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/predictor_api.cc
===================================================================
--- chrome/browser/net/predictor_api.cc (revision 90431)
+++ chrome/browser/net/predictor_api.cc (working copy)
@@ -360,10 +360,6 @@
void PredictorGetHtmlInfo(std::string* output) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- output->append("<html><head><title>About DNS</title>"
- // We'd like the following no-cache... but it doesn't work.
- // "<META HTTP-EQUIV=\"Pragma\" CONTENT=\"no-cache\">"
- "</head><body>");
if (!predictor_enabled || NULL == g_predictor) {
output->append("DNS pre-resolution and TCP pre-connection is disabled.");
} else {
@@ -379,7 +375,6 @@
g_predictor->GetHtmlInfo(output);
}
}
- output->append("</body></html>");
}
void ClearPredictorCache() {
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/resources/about_credits.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698