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

Unified Diff: chrome/browser/browser_main.cc

Issue 3324009: Work in progress implementation of Icon URI scheme. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 3 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/browser_main.cc
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 3915e8b9b2de375d74dd04e1666789500cfd14a4..29c7e4cca28f8237a95246daea983aec6cd57b84 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -43,6 +43,7 @@
#include "chrome/browser/extensions/extension_protocols.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/first_run/first_run.h"
+#include "chrome/browser/icon_url_data_manager.h"
#include "chrome/browser/jankometer.h"
#include "chrome/browser/labs.h"
#include "chrome/browser/metrics/histogram_synchronizer.h"
@@ -1320,6 +1321,9 @@ int BrowserMain(const MainFunctionParams& parameters) {
RegisterMetadataURLRequestHandler();
RegisterBlobURLRequestJobFactory();
+ // Register our global network handler for icon: URLs.
+ RegisterURLRequestIconJob();
+
// In unittest mode, this will do nothing. In normal mode, this will create
// the global GoogleURLTracker and IntranetRedirectDetector instances, which
// will promptly go to sleep for five and seven seconds, respectively (to
« no previous file with comments | « no previous file | chrome/browser/child_process_security_policy.cc » ('j') | chrome/browser/icon_url_data_manager_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698