Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7315)

Unified Diff: chrome/browser/sync/util/character_set_converters_win.cc

Issue 2833047: sync: Get rid of the now obsolete character_set_converters.h API. (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: fix indent Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/util/character_set_converters_win.cc
diff --git a/chrome/browser/sync/util/character_set_converters_win.cc b/chrome/browser/sync/util/character_set_converters_win.cc
deleted file mode 100644
index 1032f41c10214332cf3392c8cc7ed129acf1e0ec..0000000000000000000000000000000000000000
--- a/chrome/browser/sync/util/character_set_converters_win.cc
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/utf_string_conversions.h"
-#include "chrome/browser/sync/util/character_set_converters.h"
-
-namespace browser_sync {
-
-// Returns UTF8 string from the given FilePath.
-std::string FilePathToUTF8(const FilePath& file_path) {
- return WideToUTF8(file_path.value());
-}
-
-// Returns FilePath from the given UTF8 string.
-FilePath UTF8ToFilePath(const std::string& utf8) {
- return FilePath(UTF8ToWide(utf8));
-}
-
-} // namespace browser_sync
« no previous file with comments | « chrome/browser/sync/util/character_set_converters_posix.cc ('k') | chrome/browser/sync/util/user_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698