summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-25 00:30:47 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-25 00:30:47 +0000
commitd21e1b23309154055d70426a1eddcd5c861d926c (patch)
tree9d9b2ab0a9512bbcc47bfea655616cbd4fac910d /content
parent7d6cd05105f332529eba18f22e9381e96aa41984 (diff)
downloadchromium_src-d21e1b23309154055d70426a1eddcd5c861d926c.zip
chromium_src-d21e1b23309154055d70426a1eddcd5c861d926c.tar.gz
chromium_src-d21e1b23309154055d70426a1eddcd5c861d926c.tar.bz2
remove usage of WebData, WebHTTPBody, and WebURL in content and chrome browser
R=sky@chromium.org BUG=237267 Review URL: https://chromiumcodereview.appspot.com/17526007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/DEPS2
-rw-r--r--content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc22
-rw-r--r--content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h7
3 files changed, 0 insertions, 31 deletions
diff --git a/content/browser/DEPS b/content/browser/DEPS
index 67ca2ef..40ab2cc 100644
--- a/content/browser/DEPS
+++ b/content/browser/DEPS
@@ -57,10 +57,8 @@ include_rules = [
"+third_party/WebKit/public/web/WebTextDirection.h",
# These should be burned down. http://crbug.com/237267
- "!third_party/WebKit/public/platform/WebData.h",
"!third_party/WebKit/public/platform/WebIDBDatabaseError.h",
"!third_party/WebKit/public/platform/WebIDBKey.h",
- "!third_party/WebKit/public/platform/WebURL.h",
"!third_party/WebKit/public/web/WebBindings.h",
"!third_party/WebKit/public/web/WebKit.h",
"!third_party/WebKit/public/web/WebSecurityOrigin.h",
diff --git a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
index e600a49..b503003 100644
--- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
+++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.cc
@@ -8,9 +8,7 @@
#include "base/logging.h"
#include "base/sys_info.h"
#include "content/browser/gpu/browser_gpu_channel_host_factory.h"
-#include "third_party/WebKit/public/platform/WebData.h"
#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/WebKit/public/platform/WebURL.h"
#include "webkit/base/file_path_string_conversions.h"
namespace content {
@@ -64,20 +62,6 @@ BrowserWebKitPlatformSupportImpl::createMessagePortChannel() {
return NULL;
}
-void BrowserWebKitPlatformSupportImpl::setCookies(
- const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies,
- const WebKit::WebString& value) {
- NOTREACHED();
-}
-
-WebKit::WebString BrowserWebKitPlatformSupportImpl::cookies(
- const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies) {
- NOTREACHED();
- return WebKit::WebString();
-}
-
void BrowserWebKitPlatformSupportImpl::prefetchHostName(
const WebKit::WebString&) {
NOTREACHED();
@@ -109,12 +93,6 @@ void BrowserWebKitPlatformSupportImpl::getPluginList(bool refresh,
NOTREACHED();
}
-WebKit::WebData BrowserWebKitPlatformSupportImpl::loadResource(
- const char* name) {
- NOTREACHED();
- return WebKit::WebData();
-}
-
int BrowserWebKitPlatformSupportImpl::databaseDeleteFile(
const WebKit::WebString& vfs_file_name, bool sync_dir) {
const base::FilePath path = webkit_base::WebStringToFilePath(vfs_file_name);
diff --git a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h
index d562b31..67c61cd 100644
--- a/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h
+++ b/content/browser/in_process_webkit/browser_webkitplatformsupport_impl.h
@@ -25,19 +25,12 @@ class BrowserWebKitPlatformSupportImpl : public WebKitPlatformSupportImpl {
size_t length);
virtual bool isLinkVisited(unsigned long long linkHash);
virtual WebKit::WebMessagePortChannel* createMessagePortChannel();
- virtual void setCookies(const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies,
- const WebKit::WebString& value);
- virtual WebKit::WebString cookies(
- const WebKit::WebURL& url,
- const WebKit::WebURL& first_party_for_cookies);
virtual void prefetchHostName(const WebKit::WebString&);
virtual WebKit::WebString defaultLocale();
virtual WebKit::WebThemeEngine* themeEngine();
virtual WebKit::WebURLLoader* createURLLoader();
virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
- virtual WebKit::WebData loadResource(const char* name);
virtual int databaseDeleteFile(const WebKit::WebString& vfs_file_name,
bool sync_dir);
virtual long long availableDiskSpaceInBytes(