OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "ppapi/shared_impl/ppb_message_loop_shared.h" | 5 #include "ppapi/shared_impl/ppb_message_loop_shared.h" |
6 | 6 |
7 namespace ppapi { | 7 namespace ppapi { |
8 | 8 |
9 MessageLoopShared::MessageLoopShared(PP_Instance instance) | 9 MessageLoopShared::MessageLoopShared(PP_Instance instance) |
10 : Resource(OBJECT_IS_PROXY, instance) { | 10 : Resource(OBJECT_IS_PROXY, instance) {} |
11 } | |
12 | 11 |
13 MessageLoopShared::MessageLoopShared(ForMainThread) | 12 MessageLoopShared::MessageLoopShared(ForMainThread) |
14 : Resource(Resource::Untracked()) { | 13 : Resource(Resource::Untracked()) {} |
15 } | |
16 | 14 |
17 MessageLoopShared::~MessageLoopShared() { | 15 MessageLoopShared::~MessageLoopShared() {} |
18 } | |
19 | 16 |
20 } // namespace ppapi | 17 } // namespace ppapi |
OLD | NEW |