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

Unified Diff: webkit/glue/weburlrequest_extradata_impl.h

Issue 20003004: reland crrev.com/212927 Move webkitplatformsupport_impl and related from glue to child (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & allocator dep for components_unittests in shared_library2 Created 7 years, 5 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 | « webkit/glue/weburlloader_impl.cc ('k') | webkit/glue/weburlrequest_extradata_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/weburlrequest_extradata_impl.h
diff --git a/webkit/glue/weburlrequest_extradata_impl.h b/webkit/glue/weburlrequest_extradata_impl.h
deleted file mode 100644
index 151c4845c36ecd965f87bea2bac4fd9084a9b7fb..0000000000000000000000000000000000000000
--- a/webkit/glue/weburlrequest_extradata_impl.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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.
-
-#ifndef WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_
-#define WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_
-
-#include "base/compiler_specific.h"
-#include "third_party/WebKit/public/platform/WebReferrerPolicy.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/WebKit/public/platform/WebURLRequest.h"
-#include "webkit/common/webkit_common_export.h"
-
-namespace webkit_glue {
-
-// Base class for Chrome's implementation of the "extra data" stored in each
-// ResourceRequest.
-class WEBKIT_COMMON_EXPORT WebURLRequestExtraDataImpl :
- public NON_EXPORTED_BASE(WebKit::WebURLRequest::ExtraData) {
- public:
- // |custom_user_agent| is used to communicate an overriding custom user agent
- // to |RenderViewImpl::willSendRequest()|; set to a null string to indicate no
- // override and an empty string to indicate that there should be no user
- // agent. This needs to be here, instead of content's |RequestExtraData| since
- // ppb_url_request_info_impl.cc needs to be able to set it.
- explicit WebURLRequestExtraDataImpl(
- WebKit::WebReferrerPolicy referrer_policy,
- const WebKit::WebString& custom_user_agent);
- virtual ~WebURLRequestExtraDataImpl();
-
- WebKit::WebReferrerPolicy referrer_policy() const { return referrer_policy_; }
- const WebKit::WebString& custom_user_agent() const {
- return custom_user_agent_;
- }
-
- private:
- WebKit::WebReferrerPolicy referrer_policy_;
- WebKit::WebString custom_user_agent_;
-
- DISALLOW_COPY_AND_ASSIGN(WebURLRequestExtraDataImpl);
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_WEBURLREQUEST_EXTRADATA_IMPL_H_
« no previous file with comments | « webkit/glue/weburlloader_impl.cc ('k') | webkit/glue/weburlrequest_extradata_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698