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

Unified Diff: webkit/glue/glue_util.h

Issue 150146: Add Reload and LoadData methods to WebFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/dom_serializer_unittest.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/glue_util.h
===================================================================
--- webkit/glue/glue_util.h (revision 19736)
+++ webkit/glue/glue_util.h (working copy)
@@ -21,12 +21,14 @@
class KURL;
class ResourceError;
class ResourceResponse;
+class SharedBuffer;
class String;
struct ResourceRequest;
}
namespace WebKit {
class WebCString;
+class WebData;
class WebDragData;
class WebForm;
class WebHistoryItem;
@@ -82,6 +84,12 @@
WebKit::WebString StdStringToWebString(const std::string& str);
std::string WebStringToStdString(const WebKit::WebString& str);
+// WebCore::SharedBuffer <-> WebData. No charset conversion.
+WebKit::WebData SharedBufferToWebData(
+ const WTF::PassRefPtr<WebCore::SharedBuffer>& buf);
+WTF::PassRefPtr<WebCore::SharedBuffer> WebDataToSharedBuffer(
+ const WebKit::WebData& data);
+
FilePath::StringType StringToFilePathString(const WebCore::String& str);
WebCore::String FilePathStringToString(const FilePath::StringType& str);
« no previous file with comments | « webkit/glue/dom_serializer_unittest.cc ('k') | webkit/glue/glue_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698