OLD | NEW |
| (Empty) |
1 // Copyright (c) 2009 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 CHROME_BROWSER_SYNC_UTIL_CHARACTER_SET_CONVERTERS_H_ | |
6 #define CHROME_BROWSER_SYNC_UTIL_CHARACTER_SET_CONVERTERS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/file_path.h" | |
11 | |
12 namespace browser_sync { | |
13 | |
14 // Returns UTF8 string from the given FilePath. | |
15 std::string FilePathToUTF8(const FilePath& file_path); | |
16 | |
17 // Returns FilePath from the given UTF8 string. | |
18 FilePath UTF8ToFilePath(const std::string& utf8); | |
19 | |
20 } // namespace browser_sync | |
21 | |
22 #endif // CHROME_BROWSER_SYNC_UTIL_CHARACTER_SET_CONVERTERS_H_ | |
OLD | NEW |