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