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

Unified Diff: content/common/webfileutilities_impl.h

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/common/webfileutilities_impl.h
diff --git a/webkit/glue/webfileutilities_impl.h b/content/common/webfileutilities_impl.h
similarity index 68%
rename from webkit/glue/webfileutilities_impl.h
rename to content/common/webfileutilities_impl.h
index c4e0aacae1b07e2d09fdabfe4294b8b0c7ea4471..19348b89b952502a31e746b197866c000fcfe31c 100644
--- a/webkit/glue/webfileutilities_impl.h
+++ b/content/common/webfileutilities_impl.h
@@ -2,26 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBFILEUTILITIES_IMPL_H_
-#define WEBFILEUTILITIES_IMPL_H_
+#ifndef CONTENT_COMMON_WEBFILEUTILITIES_IMPL_H_
+#define CONTENT_COMMON_WEBFILEUTILITIES_IMPL_H_
#include "base/platform_file.h"
+#include "content/common/content_export.h"
#include "third_party/WebKit/public/platform/WebFileInfo.h"
#include "third_party/WebKit/public/platform/WebFileUtilities.h"
-#include "webkit/glue/webkit_glue_export.h"
-namespace webkit_glue {
+namespace content {
-class WEBKIT_GLUE_EXPORT WebFileUtilitiesImpl :
- NON_EXPORTED_BASE(public blink::WebFileUtilities) {
+class CONTENT_EXPORT WebFileUtilitiesImpl
+ : NON_EXPORTED_BASE(public blink::WebFileUtilities) {
public:
WebFileUtilitiesImpl();
virtual ~WebFileUtilitiesImpl();
// WebFileUtilities methods:
- virtual bool getFileInfo(
- const blink::WebString& path,
- blink::WebFileInfo& result);
+ virtual bool getFileInfo(const blink::WebString& path,
+ blink::WebFileInfo& result);
virtual blink::WebString directoryName(const blink::WebString& path);
virtual blink::WebString baseName(const blink::WebString& path);
virtual blink::WebURL filePathToURL(const blink::WebString& path);
@@ -37,6 +36,6 @@ class WEBKIT_GLUE_EXPORT WebFileUtilitiesImpl :
bool sandbox_enabled_;
};
-} // namespace webkit_glue
+} // namespace content
-#endif // WEBFILEUTILITIES_IMPL_H_
+#endif // CONTENT_COMMON_WEBFILEUTILITIES_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698