OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_INTERNAL_API_PUBLIC_UTIL_PROTO_VALUE_PTR_H_ | 5 #ifndef COMPONENTS_SYNC_BASE_PROTO_VALUE_PTR_H_ |
6 #define SYNC_INTERNAL_API_PUBLIC_UTIL_PROTO_VALUE_PTR_H_ | 6 #define COMPONENTS_SYNC_BASE_PROTO_VALUE_PTR_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 | 10 |
11 namespace syncer_v2 { | 11 namespace syncer_v2 { |
12 struct EntityData; | 12 struct EntityData; |
13 class ProcessorEntityTracker; | 13 class ProcessorEntityTracker; |
14 } // namespace syncer_v2 | 14 } // namespace syncer_v2 |
15 | 15 |
16 namespace syncer { | 16 namespace syncer { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 void load(const void* blob, int length) { | 123 void load(const void* blob, int length) { |
124 wrapper_ = Wrapper::ParseFromBlob(blob, length); | 124 wrapper_ = Wrapper::ParseFromBlob(blob, length); |
125 } | 125 } |
126 | 126 |
127 scoped_refptr<Wrapper> wrapper_; | 127 scoped_refptr<Wrapper> wrapper_; |
128 }; | 128 }; |
129 | 129 |
130 } // namespace syncer | 130 } // namespace syncer |
131 | 131 |
132 #endif // SYNC_INTERNAL_API_PUBLIC_UTIL_PROTO_VALUE_PTR_H_ | 132 #endif // COMPONENTS_SYNC_BASE_PROTO_VALUE_PTR_H_ |
OLD | NEW |