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

Side by Side Diff: sync/syncable/syncable_enum_conversions.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
OLDNEW
1 // Copyright (c) 2011 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 // Keep this file in sync with syncable.h. 5 // Keep this file in sync with syncable.h.
6 6
7 #include "chrome/browser/sync/syncable/syncable_enum_conversions.h" 7 #include "sync/syncable/syncable_enum_conversions.h"
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 11
12 namespace syncable { 12 namespace syncable {
13 13
14 // We can't tokenize expected_min/expected_max since it can be a 14 // We can't tokenize expected_min/expected_max since it can be a
15 // general expression. 15 // general expression.
16 #define ASSERT_ENUM_BOUNDS(enum_min, enum_max, expected_min, expected_max) \ 16 #define ASSERT_ENUM_BOUNDS(enum_min, enum_max, expected_min, expected_max) \
17 COMPILE_ASSERT(static_cast<int>(enum_min) == \ 17 COMPILE_ASSERT(static_cast<int>(enum_min) == \
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 case BIT_TEMPS_END: break; 155 case BIT_TEMPS_END: break;
156 } 156 }
157 NOTREACHED(); 157 NOTREACHED();
158 return ""; 158 return "";
159 } 159 }
160 160
161 #undef ENUM_CASE 161 #undef ENUM_CASE
162 #undef ASSERT_ENUM_BOUNDS 162 #undef ASSERT_ENUM_BOUNDS
163 163
164 } // namespace syncable 164 } // namespace syncable
OLDNEW
« no previous file with comments | « sync/syncable/syncable_enum_conversions.h ('k') | sync/syncable/syncable_enum_conversions_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698