summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdatasource_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webdatasource_impl.cc')
-rw-r--r--webkit/glue/webdatasource_impl.cc54
1 files changed, 2 insertions, 52 deletions
diff --git a/webkit/glue/webdatasource_impl.cc b/webkit/glue/webdatasource_impl.cc
index 70ba01c..6414d45 100644
--- a/webkit/glue/webdatasource_impl.cc
+++ b/webkit/glue/webdatasource_impl.cc
@@ -92,10 +92,6 @@ void WebDataSourceImpl::SetExtraData(WebRequest::ExtraData* extra) {
request_.SetExtraData(extra);
}
-std::wstring WebDataSourceImpl::GetResponseMimeType() const {
- return webkit_glue::StringToStdWString(loader_->responseMIMEType());
-}
-
GURL WebDataSourceImpl::GetUnreachableURL() const {
const WebCore::KURL& url = loader_->unreachableURL();
return url.isEmpty() ? GURL() : webkit_glue::KURLToGURL(url);
@@ -130,52 +126,6 @@ bool WebDataSourceImpl::IsFormSubmit() const {
return loader_->is_form_submit();
}
-std::wstring WebDataSourceImpl::GetPageTitle() const {
- return webkit_glue::StringToStdWString(loader_->title());
-}
-
-/*
-See comment in webdatasource.h
-
-void WebDataSourceImpl::GetData(IStream** data) {
- DebugBreak();
-}
-
-void WebDataSourceImpl::GetRepresentation(IWebDocumentRepresentation** rep) {
- DebugBreak();
-}
-
-void WebDataSourceImpl::GetResponse(IWebURLResponse** response) {
- DebugBreak();
-}
-
-std::wstring WebDataSourceImpl::GetTextEncodingName() {
- DebugBreak();
- return L"";
-}
-
-bool WebDataSourceImpl::IsLoading() {
- DebugBreak();
-}
-
-void WebDataSourceImpl::GetWebArchive(IWebArchive** archive) {
- DebugBreak();
-}
-
-void WebDataSourceImpl::GetMainResource(IWebResource** resource) {
- DebugBreak();
-}
-
-void WebDataSourceImpl::GetSubresources(int* count, IWebResource*** resources) {
- DebugBreak();
-}
-
-void WebDataSourceImpl::GetSubresourceForURL(const std::wstring& url,
- IWebResource** resource) {
- DebugBreak();
-}
-
-void WebDataSourceImpl::AddSubresource(IWebResource* subresource) {
- DebugBreak();
+string16 WebDataSourceImpl::GetPageTitle() const {
+ return webkit_glue::StringToString16(loader_->title());
}
-*/