| 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/proxy/flash_clipboard_resource.h" | 5 #include "ppapi/proxy/flash_clipboard_resource.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 |
| 7 #include "base/numerics/safe_conversions.h" | 9 #include "base/numerics/safe_conversions.h" |
| 8 #include "ipc/ipc_message.h" | 10 #include "ipc/ipc_message.h" |
| 9 #include "ppapi/c/pp_errors.h" | 11 #include "ppapi/c/pp_errors.h" |
| 10 #include "ppapi/proxy/ppapi_messages.h" | 12 #include "ppapi/proxy/ppapi_messages.h" |
| 11 #include "ppapi/shared_impl/ppapi_globals.h" | 13 #include "ppapi/shared_impl/ppapi_globals.h" |
| 12 #include "ppapi/shared_impl/var.h" | 14 #include "ppapi/shared_impl/var.h" |
| 13 #include "ppapi/shared_impl/var_tracker.h" | 15 #include "ppapi/shared_impl/var_tracker.h" |
| 14 | 16 |
| 15 namespace ppapi { | 17 namespace ppapi { |
| 16 namespace proxy { | 18 namespace proxy { |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 int32_t result = | 162 int32_t result = |
| 161 SyncCall<PpapiPluginMsg_FlashClipboard_GetSequenceNumberReply>( | 163 SyncCall<PpapiPluginMsg_FlashClipboard_GetSequenceNumberReply>( |
| 162 BROWSER, | 164 BROWSER, |
| 163 PpapiHostMsg_FlashClipboard_GetSequenceNumber(clipboard_type), | 165 PpapiHostMsg_FlashClipboard_GetSequenceNumber(clipboard_type), |
| 164 sequence_number); | 166 sequence_number); |
| 165 return PP_FromBool(result == PP_OK); | 167 return PP_FromBool(result == PP_OK); |
| 166 } | 168 } |
| 167 | 169 |
| 168 } // namespace proxy | 170 } // namespace proxy |
| 169 } // namespace ppapi | 171 } // namespace ppapi |
| OLD | NEW |