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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.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
« no previous file with comments | « content/renderer/DEPS ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/memory/shared_memory.h" 12 #include "base/memory/shared_memory.h"
13 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
14 #include "base/numerics/safe_conversions.h" 14 #include "base/numerics/safe_conversions.h"
15 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
16 #include "base/strings/string_number_conversions.h" 16 #include "base/strings/string_number_conversions.h"
17 #include "base/strings/utf_string_conversions.h" 17 #include "base/strings/utf_string_conversions.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/thread_task_runner_handle.h"
19 #include "build/build_config.h" 19 #include "build/build_config.h"
20 #include "cc/blink/context_provider_web_context.h" 20 #include "cc/blink/context_provider_web_context.h"
21 #include "components/scheduler/child/web_scheduler_impl.h" 21 #include "components/scheduler/child/web_scheduler_impl.h"
22 #include "components/scheduler/renderer/renderer_scheduler.h" 22 #include "components/scheduler/renderer/renderer_scheduler.h"
23 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h" 23 #include "components/scheduler/renderer/webthread_impl_for_renderer_scheduler.h"
24 #include "components/url_formatter/url_formatter.h"
24 #include "content/child/database_util.h" 25 #include "content/child/database_util.h"
25 #include "content/child/file_info_util.h" 26 #include "content/child/file_info_util.h"
26 #include "content/child/fileapi/webfilesystem_impl.h" 27 #include "content/child/fileapi/webfilesystem_impl.h"
27 #include "content/child/indexed_db/webidbfactory_impl.h" 28 #include "content/child/indexed_db/webidbfactory_impl.h"
28 #include "content/child/npapi/npobject_util.h" 29 #include "content/child/npapi/npobject_util.h"
29 #include "content/child/quota_dispatcher.h" 30 #include "content/child/quota_dispatcher.h"
30 #include "content/child/quota_message_filter.h" 31 #include "content/child/quota_message_filter.h"
31 #include "content/child/simple_webmimeregistry_impl.h" 32 #include "content/child/simple_webmimeregistry_impl.h"
32 #include "content/child/thread_safe_sender.h" 33 #include "content/child/thread_safe_sender.h"
33 #include "content/child/web_database_observer_impl.h" 34 #include "content/child/web_database_observer_impl.h"
(...skipping 28 matching lines...) Expand all
62 #include "content/renderer/webgraphicscontext3d_provider_impl.h" 63 #include "content/renderer/webgraphicscontext3d_provider_impl.h"
63 #include "content/renderer/webpublicsuffixlist_impl.h" 64 #include "content/renderer/webpublicsuffixlist_impl.h"
64 #include "gpu/config/gpu_info.h" 65 #include "gpu/config/gpu_info.h"
65 #include "ipc/ipc_sync_message_filter.h" 66 #include "ipc/ipc_sync_message_filter.h"
66 #include "media/audio/audio_output_device.h" 67 #include "media/audio/audio_output_device.h"
67 #include "media/base/audio_hardware_config.h" 68 #include "media/base/audio_hardware_config.h"
68 #include "media/base/key_systems.h" 69 #include "media/base/key_systems.h"
69 #include "media/base/mime_util.h" 70 #include "media/base/mime_util.h"
70 #include "media/blink/webcontentdecryptionmodule_impl.h" 71 #include "media/blink/webcontentdecryptionmodule_impl.h"
71 #include "media/filters/stream_parser_factory.h" 72 #include "media/filters/stream_parser_factory.h"
72 #include "net/base/net_util.h"
73 #include "storage/common/database/database_identifier.h" 73 #include "storage/common/database/database_identifier.h"
74 #include "storage/common/quota/quota_types.h" 74 #include "storage/common/quota/quota_types.h"
75 #include "third_party/WebKit/public/platform/WebBatteryStatusListener.h" 75 #include "third_party/WebKit/public/platform/WebBatteryStatusListener.h"
76 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" 76 #include "third_party/WebKit/public/platform/WebBlobRegistry.h"
77 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h" 77 #include "third_party/WebKit/public/platform/WebDeviceLightListener.h"
78 #include "third_party/WebKit/public/platform/WebFileInfo.h" 78 #include "third_party/WebKit/public/platform/WebFileInfo.h"
79 #include "third_party/WebKit/public/platform/WebGamepads.h" 79 #include "third_party/WebKit/public/platform/WebGamepads.h"
80 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 80 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
81 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" 81 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h"
82 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h" 82 #include "third_party/WebKit/public/platform/WebPluginListBuilder.h"
(...skipping 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 1026
1027 blink::WebCompositorSupport* RendererBlinkPlatformImpl::compositorSupport() { 1027 blink::WebCompositorSupport* RendererBlinkPlatformImpl::compositorSupport() {
1028 return &compositor_support_; 1028 return &compositor_support_;
1029 } 1029 }
1030 1030
1031 //------------------------------------------------------------------------------ 1031 //------------------------------------------------------------------------------
1032 1032
1033 blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode( 1033 blink::WebString RendererBlinkPlatformImpl::convertIDNToUnicode(
1034 const blink::WebString& host, 1034 const blink::WebString& host,
1035 const blink::WebString& languages) { 1035 const blink::WebString& languages) {
1036 return net::IDNToUnicode(host.utf8(), languages.utf8()); 1036 return url_formatter::IDNToUnicode(host.utf8(), languages.utf8());
1037 } 1037 }
1038 1038
1039 //------------------------------------------------------------------------------ 1039 //------------------------------------------------------------------------------
1040 1040
1041 void RendererBlinkPlatformImpl::recordRappor(const char* metric, 1041 void RendererBlinkPlatformImpl::recordRappor(const char* metric,
1042 const blink::WebString& sample) { 1042 const blink::WebString& sample) {
1043 GetContentClient()->renderer()->RecordRappor(metric, sample.utf8()); 1043 GetContentClient()->renderer()->RecordRappor(metric, sample.utf8());
1044 } 1044 }
1045 1045
1046 void RendererBlinkPlatformImpl::recordRapporURL(const char* metric, 1046 void RendererBlinkPlatformImpl::recordRapporURL(const char* metric,
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 //------------------------------------------------------------------------------ 1241 //------------------------------------------------------------------------------
1242 1242
1243 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting( 1243 void RendererBlinkPlatformImpl::MockBatteryStatusChangedForTesting(
1244 const blink::WebBatteryStatus& status) { 1244 const blink::WebBatteryStatus& status) {
1245 if (!g_test_battery_status_listener) 1245 if (!g_test_battery_status_listener)
1246 return; 1246 return;
1247 g_test_battery_status_listener->updateBatteryStatus(status); 1247 g_test_battery_status_listener->updateBatteryStatus(status);
1248 } 1248 }
1249 1249
1250 } // namespace content 1250 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/DEPS ('k') | content/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698