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

Unified Diff: content/browser/webui/url_data_manager_backend.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 | « content/browser/webui/url_data_manager_backend.h ('k') | content/browser/webui/web_ui_data_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/url_data_manager_backend.cc
===================================================================
--- content/browser/webui/url_data_manager_backend.cc (revision 178359)
+++ content/browser/webui/url_data_manager_backend.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/webui/chrome_url_data_manager_backend.h"
+#include "content/browser/webui/url_data_manager_backend.h"
#include <set>
@@ -18,11 +18,10 @@
#include "base/memory/weak_ptr.h"
#include "base/message_loop.h"
#include "base/string_util.h"
-#include "chrome/browser/ui/webui/shared_resources_data_source.h"
+#include "content/browser/webui/shared_resources_data_source.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/common/url_constants.h"
#include "googleurl/src/url_util.h"
-#include "grit/platform_locale_settings.h"
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
@@ -522,7 +521,6 @@
public:
// |is_incognito| should be set for incognito profiles.
DevToolsJobFactory(ChromeURLDataManagerBackend* backend,
- net::NetworkDelegate* network_delegate,
bool is_incognito);
virtual ~DevToolsJobFactory();
@@ -534,7 +532,6 @@
// |backend_| and |network_delegate_| are owned by ProfileIOData, which owns
// this ProtocolHandler.
ChromeURLDataManagerBackend* const backend_;
- net::NetworkDelegate* network_delegate_;
// True when generated from an incognito profile.
const bool is_incognito_;
@@ -543,10 +540,8 @@
};
DevToolsJobFactory::DevToolsJobFactory(ChromeURLDataManagerBackend* backend,
- net::NetworkDelegate* network_delegate,
bool is_incognito)
: backend_(backend),
- network_delegate_(network_delegate),
is_incognito_(is_incognito) {
DCHECK(backend_);
}
@@ -564,7 +559,6 @@
net::URLRequestJobFactory::ProtocolHandler*
CreateDevToolsProtocolHandler(ChromeURLDataManagerBackend* backend,
- net::NetworkDelegate* network_delegate,
bool is_incognito) {
- return new DevToolsJobFactory(backend, network_delegate, is_incognito);
+ return new DevToolsJobFactory(backend, is_incognito);
}
« no previous file with comments | « content/browser/webui/url_data_manager_backend.h ('k') | content/browser/webui/web_ui_data_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698