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

Side by Side Diff: components/sync/js/js_event_details.h

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. Created 3 years, 10 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/sync/engine_impl/uss_migrator.h ('k') | components/sync/model/attachments/attachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698