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

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 12049052: Move core url data manager classes to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: review comments Created 7 years, 11 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/profiles/profile_io_data.h ('k') | chrome/browser/sync/profile_sync_service_mock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile_io_data.cc
===================================================================
--- chrome/browser/profiles/profile_io_data.cc (revision 178598)
+++ chrome/browser/profiles/profile_io_data.cc (working copy)
@@ -47,7 +47,6 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/browser/signin/signin_names_io_thread.h"
-#include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
@@ -460,12 +459,6 @@
return resource_context_.get();
}
-ChromeURLDataManagerBackend*
-ProfileIOData::GetChromeURLDataManagerBackend() const {
- LazyInitialize();
- return chrome_url_data_manager_backend_.get();
-}
-
ChromeURLRequestContext*
ProfileIOData::GetMainRequestContext() const {
LazyInitialize();
@@ -640,8 +633,6 @@
ChromeURLRequestContext::CONTEXT_TYPE_EXTENSIONS,
load_time_stats_));
- chrome_url_data_manager_backend_.reset(new ChromeURLDataManagerBackend);
-
ChromeNetworkDelegate* network_delegate =
new ChromeNetworkDelegate(
io_thread_globals->extension_event_router_forwarder.get(),
@@ -721,11 +712,6 @@
DCHECK(set_protocol);
set_protocol = job_factory->SetProtocolHandler(
- chrome::kChromeDevToolsScheme,
- CreateDevToolsProtocolHandler(chrome_url_data_manager_backend(),
- network_delegate, is_incognito()));
- DCHECK(set_protocol);
- set_protocol = job_factory->SetProtocolHandler(
extensions::kExtensionScheme,
CreateExtensionProtocolHandler(is_incognito(), GetExtensionInfoMap()));
DCHECK(set_protocol);
@@ -734,12 +720,6 @@
CreateExtensionResourceProtocolHandler());
DCHECK(set_protocol);
set_protocol = job_factory->SetProtocolHandler(
- chrome::kChromeUIScheme,
- ChromeURLDataManagerBackend::CreateProtocolHandler(
- chrome_url_data_manager_backend_.get(),
- is_incognito()));
- DCHECK(set_protocol);
- set_protocol = job_factory->SetProtocolHandler(
chrome::kDataScheme, new net::DataProtocolHandler());
DCHECK(set_protocol);
#if defined(OS_CHROMEOS)
« no previous file with comments | « chrome/browser/profiles/profile_io_data.h ('k') | chrome/browser/sync/profile_sync_service_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698