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

Unified Diff: webkit/glue/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: 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 | « webkit/glue/simple_webmimeregistry_impl.cc ('k') | webkit/glue/webfileutilities_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webfileutilities_impl.h
diff --git a/webkit/glue/webfileutilities_impl.h b/webkit/glue/webfileutilities_impl.h
deleted file mode 100644
index c4e0aacae1b07e2d09fdabfe4294b8b0c7ea4471..0000000000000000000000000000000000000000
--- a/webkit/glue/webfileutilities_impl.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_
-
-#include "base/platform_file.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 {
-
-class WEBKIT_GLUE_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 blink::WebString directoryName(const blink::WebString& path);
- virtual blink::WebString baseName(const blink::WebString& path);
- virtual blink::WebURL filePathToURL(const blink::WebString& path);
- virtual base::PlatformFile openFile(const blink::WebString& path, int mode);
- virtual void closeFile(base::PlatformFile& handle);
- virtual int readFromFile(base::PlatformFile handle, char* data, int length);
-
- void set_sandbox_enabled(bool sandbox_enabled) {
- sandbox_enabled_ = sandbox_enabled;
- }
-
- protected:
- bool sandbox_enabled_;
-};
-
-} // namespace webkit_glue
-
-#endif // WEBFILEUTILITIES_IMPL_H_
« no previous file with comments | « webkit/glue/simple_webmimeregistry_impl.cc ('k') | webkit/glue/webfileutilities_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698