Only sync parent directory once after a leveldb file rename.
[chromium-blink-merge.git] / webkit / base / file_path_string_conversions.h
blob8fe6674af8b2a7dc4b5ed7266b4a992f8a96af49
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"
11 namespace WebKit {
12 class WebString;
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_