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

Side by Side Diff: mojo/edk/system/awakable_list.h

Issue 1154903003: "typedef Foo Bar" -> "using Bar = Foo" in //mojo/edk/.... (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ 5 #ifndef MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_
6 #define MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ 6 #define MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 27 matching lines...) Expand all
38 38
39 private: 39 private:
40 struct AwakeInfo { 40 struct AwakeInfo {
41 AwakeInfo(Awakable* awakable, MojoHandleSignals signals, uint32_t context) 41 AwakeInfo(Awakable* awakable, MojoHandleSignals signals, uint32_t context)
42 : awakable(awakable), signals(signals), context(context) {} 42 : awakable(awakable), signals(signals), context(context) {}
43 43
44 Awakable* awakable; 44 Awakable* awakable;
45 MojoHandleSignals signals; 45 MojoHandleSignals signals;
46 uint32_t context; 46 uint32_t context;
47 }; 47 };
48 typedef std::list<AwakeInfo> AwakeInfoList; 48 using AwakeInfoList = std::list<AwakeInfo>;
49 49
50 AwakeInfoList awakables_; 50 AwakeInfoList awakables_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(AwakableList); 52 DISALLOW_COPY_AND_ASSIGN(AwakableList);
53 }; 53 };
54 54
55 } // namespace system 55 } // namespace system
56 } // namespace mojo 56 } // namespace mojo
57 57
58 #endif // MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_ 58 #endif // MOJO_EDK_SYSTEM_AWAKABLE_LIST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698