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/thunk/enter.h" | 5 #include "ppapi/thunk/enter.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
10 #include "base/strings/stringprintf.h" | 10 #include "base/strings/stringprintf.h" |
11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
12 #include "ppapi/c/pp_errors.h" | 12 #include "ppapi/c/pp_errors.h" |
13 #include "ppapi/shared_impl/ppapi_globals.h" | 13 #include "ppapi/shared_impl/ppapi_globals.h" |
14 #include "ppapi/shared_impl/tracked_callback.h" | 14 #include "ppapi/shared_impl/tracked_callback.h" |
15 #include "ppapi/thunk/ppb_instance_api.h" | 15 #include "ppapi/thunk/ppb_instance_api.h" |
16 #include "ppapi/thunk/resource_creation_api.h" | 16 #include "ppapi/thunk/resource_creation_api.h" |
17 | 17 |
18 namespace ppapi { | 18 namespace ppapi { |
19 namespace { | 19 namespace { |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 : EnterBase(), | 313 : EnterBase(), |
314 functions_(PpapiGlobals::Get()->GetResourceCreationAPI(instance)) { | 314 functions_(PpapiGlobals::Get()->GetResourceCreationAPI(instance)) { |
315 SetStateForFunctionError(instance, functions_, true); | 315 SetStateForFunctionError(instance, functions_, true); |
316 } | 316 } |
317 | 317 |
318 EnterResourceCreationNoLock::~EnterResourceCreationNoLock() { | 318 EnterResourceCreationNoLock::~EnterResourceCreationNoLock() { |
319 } | 319 } |
320 | 320 |
321 } // namespace thunk | 321 } // namespace thunk |
322 } // namespace ppapi | 322 } // namespace ppapi |
OLD | NEW |