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

Unified Diff: components/sync/base/sync_string_conversions.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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
« no previous file with comments | « components/sync/base/sync_string_conversions.h ('k') | components/sync/base/syncer_error.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/sync_string_conversions.cc
diff --git a/sync/internal_api/public/util/sync_string_conversions.cc b/components/sync/base/sync_string_conversions.cc
similarity index 87%
rename from sync/internal_api/public/util/sync_string_conversions.cc
rename to components/sync/base/sync_string_conversions.cc
index 495fadfb3c40b8a9c12a75a607330fa2e705c0e1..d6a9d38e67e1a8f350a17f9b33494547efde3752 100644
--- a/sync/internal_api/public/util/sync_string_conversions.cc
+++ b/components/sync/base/sync_string_conversions.cc
@@ -2,9 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/internal_api/public/util/sync_string_conversions.h"
+#include "components/sync/base/sync_string_conversions.h"
-#define ENUM_CASE(x) case x: return #x
+#define ENUM_CASE(x) \
+ case x: \
+ return #x
namespace syncer {
@@ -20,8 +22,7 @@ const char* ConnectionStatusToString(ConnectionStatus status) {
}
// Helper function that converts a PassphraseRequiredReason value to a string.
-const char* PassphraseRequiredReasonToString(
- PassphraseRequiredReason reason) {
+const char* PassphraseRequiredReasonToString(PassphraseRequiredReason reason) {
switch (reason) {
ENUM_CASE(REASON_PASSPHRASE_NOT_REQUIRED);
ENUM_CASE(REASON_ENCRYPTION);
« no previous file with comments | « components/sync/base/sync_string_conversions.h ('k') | components/sync/base/syncer_error.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698