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

Unified Diff: third_party/WebKit/public/platform/FilePathConversion.h

Issue 1686263008: Add utility method for WebString to base::FilePath conversion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase! Created 4 years, 10 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 | « third_party/WebKit/public/blink_headers.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/FilePathConversion.h
diff --git a/third_party/WebKit/public/platform/URLConversion.h b/third_party/WebKit/public/platform/FilePathConversion.h
similarity index 56%
copy from third_party/WebKit/public/platform/URLConversion.h
copy to third_party/WebKit/public/platform/FilePathConversion.h
index 599e2796d203e5b5a44f6892787137833cfa4f91..17e934ed4379a43e5c856a7d77b76f4df8c10792 100644
--- a/third_party/WebKit/public/platform/URLConversion.h
+++ b/third_party/WebKit/public/platform/FilePathConversion.h
@@ -2,19 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef URLConversion_h
-#define URLConversion_h
+#ifndef FilePathConversion_h
+#define FilePathConversion_h
#include "WebCommon.h"
-class GURL;
+namespace base {
+class FilePath;
+}
namespace blink {
class WebString;
-BLINK_COMMON_EXPORT GURL WebStringToGURL(const WebString&);
+BLINK_COMMON_EXPORT base::FilePath WebStringToFilePath(const WebString&);
} // namespace blink
-#endif
+#endif // FilePathConversion_h
« no previous file with comments | « third_party/WebKit/public/blink_headers.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698