diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 17:55:51 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-10 17:55:51 +0000 |
commit | 23538fad21c3738a81d9db9458dce2faead437d7 (patch) | |
tree | ee14686d3daf74300cb7b1d583a7b484644aa93c /chrome/browser/browser_about_handler.h | |
parent | 8a5298f5e08382ea113ecc6c2e96ccd7e00db0b8 (diff) | |
download | chromium_src-23538fad21c3738a81d9db9458dce2faead437d7.zip chromium_src-23538fad21c3738a81d9db9458dce2faead437d7.tar.gz chromium_src-23538fad21c3738a81d9db9458dce2faead437d7.tar.bz2 |
Add autocomplete provider for "about:" URLs. Original patch by simonmorris@chromium.org (see http://codereview.chromium.org/6246016/ ), r=me.
BUG=6870
TEST=Typing "about:s" into the omnibox should result in a couple of "about:s..." URL entries in the dropdown even if you've never visited them.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.h')
-rw-r--r-- | chrome/browser/browser_about_handler.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/browser_about_handler.h b/chrome/browser/browser_about_handler.h index e5e31c9f..3d10124 100644 --- a/chrome/browser/browser_about_handler.h +++ b/chrome/browser/browser_about_handler.h @@ -10,6 +10,7 @@ #include <map> #include <string> +#include <vector> #include "base/process.h" #include "base/string_util.h" @@ -35,6 +36,12 @@ void InitializeAboutDataSource(Profile* profile); // case, normal tab navigation should be skipped. bool HandleNonNavigationAboutURL(const GURL& url); +// Gets the paths that are shown in about:about. +std::vector<std::string> AboutPaths(); + +// Translates one of the paths shown in about:about into a URL. +GURL AboutPathToURL(const std::string& path); + #if defined(USE_TCMALLOC) // A map of header strings (e.g. "Browser", "Renderer PID 123") // to the tcmalloc output collected for each process. |