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

Side by Side Diff: sync/util/syncer_error.cc

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sync/util/syncer_error.h ('k') | sync/util/test_unrecoverable_error_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/internal_api/includes/syncer_error.h" 5 #include "sync/util/syncer_error.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 10
11 #define ENUM_CASE(x) case x: return #x; break; 11 #define ENUM_CASE(x) case x: return #x; break;
12 const char* GetSyncerErrorString(SyncerError value) { 12 const char* GetSyncerErrorString(SyncerError value) {
13 switch (value) { 13 switch (value) {
14 ENUM_CASE(UNSET); 14 ENUM_CASE(UNSET);
15 ENUM_CASE(DIRECTORY_LOOKUP_FAILED); 15 ENUM_CASE(DIRECTORY_LOOKUP_FAILED);
(...skipping 11 matching lines...) Expand all
27 ENUM_CASE(SERVER_RESPONSE_VALIDATION_FAILED); 27 ENUM_CASE(SERVER_RESPONSE_VALIDATION_FAILED);
28 ENUM_CASE(SYNCER_OK); 28 ENUM_CASE(SYNCER_OK);
29 } 29 }
30 NOTREACHED(); 30 NOTREACHED();
31 return "INVALID"; 31 return "INVALID";
32 } 32 }
33 #undef ENUM_CASE 33 #undef ENUM_CASE
34 34
35 } // namespace browser_sync 35 } // namespace browser_sync
36 36
OLDNEW
« no previous file with comments | « sync/util/syncer_error.h ('k') | sync/util/test_unrecoverable_error_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698