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

Side by Side Diff: chrome/browser/ui/webui/net_internals/net_internals_ui.cc

Issue 1171333003: Move net::FormatUrl and friends outside of //net and into //components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again now that CQ is fixed Created 5 years, 4 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
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/net_internals/net_internals_ui.h" 5 #include "chrome/browser/ui/webui/net_internals/net_internals_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 30 matching lines...) Expand all
41 #include "chrome/browser/prerender/prerender_manager_factory.h" 41 #include "chrome/browser/prerender/prerender_manager_factory.h"
42 #include "chrome/browser/profiles/profile.h" 42 #include "chrome/browser/profiles/profile.h"
43 #include "chrome/common/channel_info.h" 43 #include "chrome/common/channel_info.h"
44 #include "chrome/common/chrome_paths.h" 44 #include "chrome/common/chrome_paths.h"
45 #include "chrome/common/url_constants.h" 45 #include "chrome/common/url_constants.h"
46 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp ression_stats.h" 46 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp ression_stats.h"
47 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h" 47 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_netw ork_delegate.h"
48 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv ice.h" 48 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv ice.h"
49 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event _store.h" 49 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_event _store.h"
50 #include "components/onc/onc_constants.h" 50 #include "components/onc/onc_constants.h"
51 #include "components/url_fixer/url_fixer.h" 51 #include "components/url_formatter/url_fixer.h"
52 #include "components/version_info/version_info.h" 52 #include "components/version_info/version_info.h"
53 #include "content/public/browser/browser_thread.h" 53 #include "content/public/browser/browser_thread.h"
54 #include "content/public/browser/notification_details.h" 54 #include "content/public/browser/notification_details.h"
55 #include "content/public/browser/resource_dispatcher_host.h" 55 #include "content/public/browser/resource_dispatcher_host.h"
56 #include "content/public/browser/web_contents.h" 56 #include "content/public/browser/web_contents.h"
57 #include "content/public/browser/web_ui.h" 57 #include "content/public/browser/web_ui.h"
58 #include "content/public/browser/web_ui_data_source.h" 58 #include "content/public/browser/web_ui_data_source.h"
59 #include "content/public/browser/web_ui_message_handler.h" 59 #include "content/public/browser/web_ui_message_handler.h"
60 #include "grit/net_internals_resources.h" 60 #include "grit/net_internals_resources.h"
61 #include "net/base/net_errors.h" 61 #include "net/base/net_errors.h"
(...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 } 1194 }
1195 1195
1196 NetInternalsUI::NetInternalsUI(content::WebUI* web_ui) 1196 NetInternalsUI::NetInternalsUI(content::WebUI* web_ui)
1197 : WebUIController(web_ui) { 1197 : WebUIController(web_ui) {
1198 web_ui->AddMessageHandler(new NetInternalsMessageHandler()); 1198 web_ui->AddMessageHandler(new NetInternalsMessageHandler());
1199 1199
1200 // Set up the chrome://net-internals/ source. 1200 // Set up the chrome://net-internals/ source.
1201 Profile* profile = Profile::FromWebUI(web_ui); 1201 Profile* profile = Profile::FromWebUI(web_ui);
1202 content::WebUIDataSource::Add(profile, CreateNetInternalsHTMLSource()); 1202 content::WebUIDataSource::Add(profile, CreateNetInternalsHTMLSource());
1203 } 1203 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/history_ui.cc ('k') | chrome/browser/ui/webui/options/core_options_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698