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

Unified Diff: content/worker/worker_webkitplatformsupport_impl.cc

Issue 151023002: Move the rest of webkit/glue into content/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
Index: content/worker/worker_webkitplatformsupport_impl.cc
diff --git a/content/worker/worker_webkitplatformsupport_impl.cc b/content/worker/worker_webkitplatformsupport_impl.cc
index a83cd34f4bec179810226c508ec2d3e7a6446a45..74ad395e1cdc1f134ee005305e877df5afa861ef 100644
--- a/content/worker/worker_webkitplatformsupport_impl.cc
+++ b/content/worker/worker_webkitplatformsupport_impl.cc
@@ -18,8 +18,10 @@
#include "content/child/web_database_observer_impl.h"
#include "content/child/webblobregistry_impl.h"
#include "content/child/webmessageportchannel_impl.h"
+#include "content/common/blink_glue.h"
#include "content/common/file_utilities_messages.h"
#include "content/common/mime_registry_messages.h"
+#include "content/common/webfileutilities_impl.h"
#include "content/worker/worker_thread.h"
#include "ipc/ipc_sync_message_filter.h"
#include "net/base/mime_util.h"
@@ -28,8 +30,6 @@
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebURL.h"
#include "webkit/common/quota/quota_types.h"
-#include "webkit/glue/webfileutilities_impl.h"
-#include "webkit/glue/webkit_glue.h"
using blink::Platform;
using blink::WebBlobRegistry;
@@ -49,7 +49,7 @@ namespace content {
// TODO(kinuko): Probably this could be consolidated into
// RendererWebKitPlatformSupportImpl::FileUtilities.
class WorkerWebKitPlatformSupportImpl::FileUtilities
- : public webkit_glue::WebFileUtilitiesImpl {
+ : public WebFileUtilitiesImpl {
public:
explicit FileUtilities(ThreadSafeSender* sender)
: thread_safe_sender_(sender) {}
@@ -69,7 +69,7 @@ bool WorkerWebKitPlatformSupportImpl::FileUtilities::getFileInfo(
status != base::File::FILE_OK) {
return false;
}
- webkit_glue::FileInfoToWebFileInfo(file_info, &web_file_info);
+ FileInfoToWebFileInfo(file_info, &web_file_info);
web_file_info.platformPath = path;
return true;
}

Powered by Google App Engine
This is Rietveld 408576698