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.
5 #ifndef WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
6 #define WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_
8 #include "base/files/file_path.h"
9 #include "webkit/base/webkit_base_export.h"
15 namespace webkit_base
{
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
& str
);
22 WEBKIT_BASE_EXPORT
WebKit::WebString
FilePathToWebString(
23 const base::FilePath
& file_path
);
25 } // namespace webkit_base
27 #endif // WEBKIT_BASE_FILE_PATH_STRING_CONVERSIONS_H_