| 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 COMPONENTS_SYNC_JS_JS_EVENT_DETAILS_H_ | 5 #ifndef COMPONENTS_SYNC_JS_JS_EVENT_DETAILS_H_ |
| 6 #define COMPONENTS_SYNC_JS_JS_EVENT_DETAILS_H_ | 6 #define COMPONENTS_SYNC_JS_JS_EVENT_DETAILS_H_ |
| 7 | 7 |
| 8 // See README.js for design comments. | 8 // See README.js for design comments. |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 ~JsEventDetails(); | 29 ~JsEventDetails(); |
| 30 | 30 |
| 31 const base::DictionaryValue& Get() const; | 31 const base::DictionaryValue& Get() const; |
| 32 | 32 |
| 33 std::string ToString() const; | 33 std::string ToString() const; |
| 34 | 34 |
| 35 // Copy constructor and assignment operator welcome. | 35 // Copy constructor and assignment operator welcome. |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 typedef Immutable<base::DictionaryValue, | 38 using ImmutableDictionaryValue = |
| 39 HasSwapMemFnByPtr<base::DictionaryValue>> | 39 Immutable<base::DictionaryValue, |
| 40 ImmutableDictionaryValue; | 40 HasSwapMemFnByPtr<base::DictionaryValue>>; |
| 41 | 41 |
| 42 ImmutableDictionaryValue details_; | 42 ImmutableDictionaryValue details_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace syncer | 45 } // namespace syncer |
| 46 | 46 |
| 47 #endif // COMPONENTS_SYNC_JS_JS_EVENT_DETAILS_H_ | 47 #endif // COMPONENTS_SYNC_JS_JS_EVENT_DETAILS_H_ |
| OLD | NEW |