Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / components / nacl / renderer / plugin / sel_ldr_launcher_chrome.h
blob5b0fbe6445411a96f2cbb67703928024b3261405
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
3 // found in the LICENSE file.
5 #ifndef PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_
6 #define PPAPI_COMPONENTS_NACL_RENDERER_PLUGIN_SEL_LDR_LAUNCHER_CHROME_H_
8 #include "components/nacl/renderer/ppb_nacl_private.h"
9 #include "native_client/src/trusted/nonnacl_util/sel_ldr_launcher.h"
10 #include "ppapi/c/pp_instance.h"
11 #include "ppapi/cpp/completion_callback.h"
13 namespace plugin {
15 class SelLdrLauncherChrome : public nacl::SelLdrLauncherBase {
16 public:
17 bool Start(const char* url) override;
19 // Provides a way for LaunchSelLdr() to write bootstrap channel information
20 // into this class.
21 void set_channel(NaClHandle channel);
24 } // namespace plugin
26 #endif