diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 16:03:49 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-13 16:03:49 +0000 |
commit | 540c149788ab214c1fac850961c78445d17177a1 (patch) | |
tree | abad68f7436c1ed2061d95dc0f32c4ff292bc4b1 /chrome/browser/browser_main.cc | |
parent | f18f2d29e4b5b88f251c52b3137df6ef8ac6843f (diff) | |
download | chromium_src-540c149788ab214c1fac850961c78445d17177a1.zip chromium_src-540c149788ab214c1fac850961c78445d17177a1.tar.gz chromium_src-540c149788ab214c1fac850961c78445d17177a1.tar.bz2 |
Add a dummy URL request handler.
This metadata request just returns a dummy string for the "metadata" scheme.
This doesn't do anything yet.
Review URL: http://codereview.chromium.org/149490
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 4c742a2..d03a8d4 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -34,6 +34,7 @@ #include "chrome/browser/first_run.h" #include "chrome/browser/metrics/metrics_service.h" #include "chrome/browser/net/dns_global.h" +#include "chrome/browser/net/metadata_url_request.h" #include "chrome/browser/net/sdch_dictionary_fetcher.h" #include "chrome/browser/plugin_service.h" #include "chrome/browser/process_singleton.h" @@ -660,6 +661,7 @@ int BrowserMain(const MainFunctionParams& parameters) { // chrome-extension:// URLs. RegisterURLRequestChromeJob(); RegisterExtensionProtocols(); + RegisterMetadataURLRequestHandler(); // In unittest mode, this will do nothing. In normal mode, this will create // the global GoogleURLTracker instance, which will promptly go to sleep for |