summaryrefslogtreecommitdiffstats
path: root/webkit/child/weburlrequest_extradata_impl.cc
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-22 18:31:42 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-22 18:31:42 +0000
commit756fbde6911d40d376680c7ab9b576620f64c108 (patch)
treedb279a9daa90a0842a5eb035ffd6ec796ae851d2 /webkit/child/weburlrequest_extradata_impl.cc
parent3b06f2ae871249581d6b4aeb47921f102b638156 (diff)
downloadchromium_src-756fbde6911d40d376680c7ab9b576620f64c108.zip
chromium_src-756fbde6911d40d376680c7ab9b576620f64c108.tar.gz
chromium_src-756fbde6911d40d376680c7ab9b576620f64c108.tar.bz2
Move webkitplatformsupport_impl and related from glue to child
Picking up Ananta's change. Move the webkitplatformsupport_impl.cc/.h files out of webkit\glue to webkit\child. This requires moving the following files out of webkit\glue to webkit\child: 1. weburlloader_impl.cc/.h 2. weburlrequest_extradata_impl.cc/.h 3. websocketstreamhandle_impl.cc/.h 4. weburlresponse_extradata_impl.cc/.h 5. websocketstreamhandle_delegate.h 6. ftp_directory_listing_response_delegate.cc/.h 7. multipart_response_delegate.cc/.h 8. multipart_response_delegate_unittest.cc 9. resource_loader_bridge.cc/.h The following files have been moved to webkit\common: 2. resource_type.cc/.h Move MemoryUsageKB out of webkit_glue.cc/h to webkit/child/webkit_child_helpers. I added an include rule to content\common\DEPS to allow including webkit\child\websocketstreamhandle_delegate.h. This will be removed in a followup. TBR=jam@chromium.org, jamesr@chromium.org, jschuh@chromium.org BUG=237249 Review URL: https://codereview.chromium.org/19673002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/child/weburlrequest_extradata_impl.cc')
-rw-r--r--webkit/child/weburlrequest_extradata_impl.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/webkit/child/weburlrequest_extradata_impl.cc b/webkit/child/weburlrequest_extradata_impl.cc
new file mode 100644
index 0000000..231672c
--- /dev/null
+++ b/webkit/child/weburlrequest_extradata_impl.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "webkit/child/weburlrequest_extradata_impl.h"
+
+using WebKit::WebReferrerPolicy;
+using WebKit::WebString;
+
+namespace webkit_glue {
+
+WebURLRequestExtraDataImpl::WebURLRequestExtraDataImpl(
+ WebReferrerPolicy referrer_policy,
+ const WebString& custom_user_agent)
+ : referrer_policy_(referrer_policy),
+ custom_user_agent_(custom_user_agent) {
+}
+
+WebURLRequestExtraDataImpl::~WebURLRequestExtraDataImpl() {
+}
+
+} // namespace webkit_glue