OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #ifndef SYNC_ENGINE_SYNCER_PROTO_UTIL_H_ | 5 #ifndef SYNC_ENGINE_SYNCER_PROTO_UTIL_H_ |
6 #define SYNC_ENGINE_SYNCER_PROTO_UTIL_H_ | 6 #define SYNC_ENGINE_SYNCER_PROTO_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" |
11 #include "base/time/time.h" | 12 #include "base/time/time.h" |
12 #include "sync/base/sync_export.h" | 13 #include "sync/base/sync_export.h" |
13 #include "sync/internal_api/public/base/model_type.h" | 14 #include "sync/internal_api/public/base/model_type.h" |
14 #include "sync/internal_api/public/util/syncer_error.h" | 15 #include "sync/internal_api/public/util/syncer_error.h" |
15 #include "sync/sessions/sync_session.h" | 16 #include "sync/sessions/sync_session.h" |
16 | 17 |
17 namespace sync_pb { | 18 namespace sync_pb { |
18 class ClientToServerMessage; | 19 class ClientToServerMessage; |
19 class ClientToServerResponse; | 20 class ClientToServerResponse; |
20 class ClientToServerResponse_Error; | 21 class ClientToServerResponse_Error; |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, PostAndProcessHeaders); | 144 FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, PostAndProcessHeaders); |
144 FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, HandleThrottlingNoDatatypes); | 145 FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, HandleThrottlingNoDatatypes); |
145 FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, HandleThrottlingWithDatatypes); | 146 FRIEND_TEST_ALL_PREFIXES(SyncerProtoUtilTest, HandleThrottlingWithDatatypes); |
146 | 147 |
147 DISALLOW_COPY_AND_ASSIGN(SyncerProtoUtil); | 148 DISALLOW_COPY_AND_ASSIGN(SyncerProtoUtil); |
148 }; | 149 }; |
149 | 150 |
150 } // namespace syncer | 151 } // namespace syncer |
151 | 152 |
152 #endif // SYNC_ENGINE_SYNCER_PROTO_UTIL_H_ | 153 #endif // SYNC_ENGINE_SYNCER_PROTO_UTIL_H_ |
OLD | NEW |