| 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 #include "chrome/browser/sync/util/character_set_converters.h" | |
| 6 | |
| 7 namespace browser_sync { | |
| 8 | |
| 9 // Returns UTF8 string from the given FilePath. | |
| 10 std::string FilePathToUTF8(const FilePath& file_path) { | |
| 11 return file_path.value(); | |
| 12 } | |
| 13 | |
| 14 // Returns FilePath from the given UTF8 string. | |
| 15 FilePath UTF8ToFilePath(const std::string& utf8) { | |
| 16 return FilePath(utf8); | |
| 17 } | |
| 18 | |
| 19 } // namespace browser_sync | |
| OLD | NEW |