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

Side by Side Diff: chrome/browser/ui/webui/devtools_ui.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/webui/devtools_ui.h" 5 #include "chrome/browser/ui/webui/devtools_ui.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/memory/ref_counted_memory.h" 9 #include "base/memory/ref_counted_memory.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/browser/net/chrome_url_request_context.h" 12 #include "chrome/browser/net/chrome_url_request_context.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
14 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
15 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/devtools_client_host.h" 17 #include "content/public/browser/devtools_client_host.h"
17 #include "content/public/browser/devtools_http_handler.h" 18 #include "content/public/browser/devtools_http_handler.h"
18 #include "content/public/browser/render_view_host.h" 19 #include "content/public/browser/render_view_host.h"
19 #include "content/public/browser/url_data_source.h" 20 #include "content/public/browser/url_data_source.h"
20 #include "content/public/browser/web_contents.h" 21 #include "content/public/browser/web_contents.h"
21 #include "content/public/browser/web_ui.h" 22 #include "content/public/browser/web_ui.h"
22 #include "ui/base/resource/resource_bundle.h" 23 #include "ui/base/resource/resource_bundle.h"
23 24
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 DevToolsUI::DevToolsUI(content::WebUI* web_ui) : WebUIController(web_ui) { 112 DevToolsUI::DevToolsUI(content::WebUI* web_ui) : WebUIController(web_ui) {
112 web_ui->SetBindings(0); 113 web_ui->SetBindings(0);
113 ChromeURLDataManager::AddDataSource( 114 ChromeURLDataManager::AddDataSource(
114 Profile::FromWebUI(web_ui), new DevToolsDataSource); 115 Profile::FromWebUI(web_ui), new DevToolsDataSource);
115 } 116 }
116 117
117 void DevToolsUI::RenderViewCreated( 118 void DevToolsUI::RenderViewCreated(
118 content::RenderViewHost* render_view_host) { 119 content::RenderViewHost* render_view_host) {
119 content::DevToolsClientHost::SetupDevToolsFrontendClient(render_view_host); 120 content::DevToolsClientHost::SetupDevToolsFrontendClient(render_view_host);
120 } 121 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/system_info_ui.cc ('k') | chrome/browser/ui/webui/ntp/foreign_session_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698