| 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 "components/nacl/renderer/plugin/sel_ldr_launcher_chrome.h" |
| 5 #include "native_client/src/include/nacl_macros.h" | 6 #include "native_client/src/include/nacl_macros.h" |
| 6 #include "native_client/src/shared/platform/nacl_check.h" | 7 #include "native_client/src/shared/platform/nacl_check.h" |
| 7 #include "ppapi/native_client/src/trusted/plugin/sel_ldr_launcher_chrome.h" | |
| 8 | 8 |
| 9 namespace plugin { | 9 namespace plugin { |
| 10 | 10 |
| 11 bool SelLdrLauncherChrome::Start(const char* url) { | 11 bool SelLdrLauncherChrome::Start(const char* url) { |
| 12 NACL_NOTREACHED(); | 12 NACL_NOTREACHED(); |
| 13 return false; | 13 return false; |
| 14 } | 14 } |
| 15 | 15 |
| 16 void SelLdrLauncherChrome::set_channel(NaClHandle channel) { | 16 void SelLdrLauncherChrome::set_channel(NaClHandle channel) { |
| 17 CHECK(channel_ == NACL_INVALID_HANDLE); | 17 CHECK(channel_ == NACL_INVALID_HANDLE); |
| 18 channel_ = channel; | 18 channel_ = channel; |
| 19 } | 19 } |
| 20 | 20 |
| 21 } // namespace plugin | 21 } // namespace plugin |
| OLD | NEW |