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

Unified Diff: chrome/browser/browser_about_handler.h

Issue 8623001: Move remaining about: handlers to webUI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.h
===================================================================
--- chrome/browser/browser_about_handler.h (revision 112219)
+++ chrome/browser/browser_about_handler.h (working copy)
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Contains code for handling "about:" URLs in the browser process.
-
#ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
#define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
#pragma once
@@ -23,18 +21,11 @@
class BrowserContext;
}
-// Register a data source for a known source name. Safe to call multiple times.
-// |name| may be an unkown host (e.g. "chrome://foo/"); only handle known hosts.
-// In general case WillHandleBrowserAboutURL will initialize all data sources.
-// But in some case like navigating to chrome://oobe on boot and loading
-// chrome://terms in an iframe there, kChromeUITermsHost data source needs to
-// be initialized separately.
-void InitializeAboutDataSource(const std::string& name,
- content::BrowserContext* browser_context);
-
// Returns true if the given URL will be handled by the browser about handler.
-// |url| should have been processed by URLFixerUpper::FixupURL, which replaces
-// the about: scheme with chrome:// for all about:foo URLs except "about:blank".
+// Nowadays, these go through the webui, so the return is always false.
+// Either way, |url| will be processed by URLFixerUpper::FixupURL, which
+// replaces the about: scheme with chrome:// for all about:foo URLs except
+// "about:blank".
// Some |url| host values will be replaced with their respective redirects.
//
// This is used by BrowserURLHandler.
@@ -88,6 +79,6 @@
// Glue between the callback task and the method in the singleton.
void AboutTcmallocRendererCallback(base::ProcessId pid,
const std::string& output);
-#endif
+#endif // defined(USE_TCMALLOC)
#endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698