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

Unified Diff: webkit/plugins/ppapi/ppb_url_request_info_impl.h

Issue 10913257: Convert url request info to new proxy API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 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/plugins/ppapi/ppb_url_loader_impl.cc ('k') | webkit/plugins/ppapi/ppb_url_request_info_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_url_request_info_impl.h
diff --git a/webkit/plugins/ppapi/ppb_url_request_info_impl.h b/webkit/plugins/ppapi/ppb_url_request_info_impl.h
deleted file mode 100644
index d2403b6c59083bd8df28709b28c8dc3a2d23ff3c..0000000000000000000000000000000000000000
--- a/webkit/plugins/ppapi/ppb_url_request_info_impl.h
+++ /dev/null
@@ -1,61 +0,0 @@
-// Copyright (c) 2011 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_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
-#define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
-
-#include "base/memory/ref_counted.h"
-#include "ppapi/thunk/ppb_url_request_info_api.h"
-#include "ppapi/shared_impl/ppb_url_request_info_shared.h"
-#include "webkit/plugins/webkit_plugins_export.h"
-
-namespace WebKit {
-class WebFrame;
-class WebHTTPBody;
-class WebURLRequest;
-}
-
-namespace webkit {
-namespace ppapi {
-
-class WEBKIT_PLUGINS_EXPORT PPB_URLRequestInfo_Impl :
- public ::ppapi::PPB_URLRequestInfo_Shared {
- public:
- explicit PPB_URLRequestInfo_Impl(
- PP_Instance instance,
- const ::ppapi::PPB_URLRequestInfo_Data& data);
- virtual ~PPB_URLRequestInfo_Impl();
-
- // Creates the WebKit URL request from the current request info. Returns
- // true on success, false if the request is invalid (in which case *dest may
- // be partially initialized).
- bool ToWebURLRequest(WebKit::WebFrame* frame,
- WebKit::WebURLRequest* dest);
-
- // Whether universal access is required to use this request.
- bool RequiresUniversalAccess() const;
-
- private:
- friend class URLRequestInfoTest;
-
- // Checks that the request data is valid. Returns false on failure. Note that
- // method and header validation is done by the URL loader when the request is
- // opened, and any access errors are returned asynchronously.
- bool ValidateData();
-
- // Appends the file ref given the Resource pointer associated with it to the
- // given HTTP body, returning true on success.
- bool AppendFileRefToBody(::ppapi::Resource* file_ref_resource,
- int64_t start_offset,
- int64_t number_of_bytes,
- PP_Time expected_last_modified_time,
- WebKit::WebHTTPBody *http_body);
-
- DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl);
-};
-
-} // namespace ppapi
-} // namespace webkit
-
-#endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
« no previous file with comments | « webkit/plugins/ppapi/ppb_url_loader_impl.cc ('k') | webkit/plugins/ppapi/ppb_url_request_info_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698