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

Unified Diff: content/child/webfileutilities_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: rm webkit_glue.gyp 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
« no previous file with comments | « content/child/webfileutilities_impl.h ('k') | content/content_child.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webfileutilities_impl.cc
diff --git a/webkit/glue/webfileutilities_impl.cc b/content/child/webfileutilities_impl.cc
similarity index 92%
rename from webkit/glue/webfileutilities_impl.cc
rename to content/child/webfileutilities_impl.cc
index eca5326ba39591c5504cccf0d1a56484a4f833b2..fa6375b9e9e97b7ef72beddaba8ca897e6c590c1 100644
--- a/webkit/glue/webfileutilities_impl.cc
+++ b/content/child/webfileutilities_impl.cc
@@ -2,21 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/glue/webfileutilities_impl.h"
+#include "content/child/webfileutilities_impl.h"
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/logging.h"
+#include "content/child/blink_glue.h"
#include "net/base/file_stream.h"
#include "net/base/net_util.h"
#include "third_party/WebKit/public/platform/WebFileInfo.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebURL.h"
-#include "webkit/glue/webkit_glue.h"
using blink::WebString;
-namespace webkit_glue {
+namespace content {
WebFileUtilitiesImpl::WebFileUtilitiesImpl()
: sandbox_enabled_(true) {
@@ -37,7 +37,7 @@ bool WebFileUtilitiesImpl::getFileInfo(const WebString& path,
reinterpret_cast<base::File::Info*>(&file_info)))
return false;
- webkit_glue::FileInfoToWebFileInfo(file_info, &web_file_info);
+ FileInfoToWebFileInfo(file_info, &web_file_info);
web_file_info.platformPath = path;
return true;
}
@@ -84,4 +84,4 @@ int WebFileUtilitiesImpl::readFromFile(base::PlatformFile handle,
return base::ReadPlatformFileCurPosNoBestEffort(handle, data, length);
}
-} // namespace webkit_glue
+} // namespace content
« no previous file with comments | « content/child/webfileutilities_impl.h ('k') | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698