OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_ | |
6 #define WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_ | |
7 | |
8 #include "base/files/file_path.h" | |
9 #include "webkit/base/webkit_base_export.h" | |
10 | |
11 namespace WebKit { | |
12 class WebString; | |
13 } | |
14 | |
15 namespace webkit_base { | |
16 | |
17 WEBKIT_BASE_EXPORT base::FilePath::StringType WebStringToFilePathString( | |
18 const WebKit::WebString& str); | |
19 WEBKIT_BASE_EXPORT WebKit::WebString FilePathStringToWebString( | |
20 const base::FilePath::StringType& str); | |
21 WEBKIT_BASE_EXPORT base::FilePath WebStringToFilePath(const WebKit::WebString& s
tr); | |
22 WEBKIT_BASE_EXPORT WebKit::WebString FilePathToWebString( | |
23 const base::FilePath& file_path); | |
24 | |
25 } // namespace webkit_base | |
26 | |
27 #endif // WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_ | |
OLD | NEW |