This source file includes following definitions.
- GetBrowserPpapiHost
#include "content/browser/renderer_host/pepper/browser_ppapi_host_test.h"
#include "content/browser/renderer_host/pepper/browser_ppapi_host_impl.h"
namespace content {
BrowserPpapiHostTest::BrowserPpapiHostTest()
: sink_() {
ppapi_host_.reset(new BrowserPpapiHostImpl(
&sink_,
ppapi::PpapiPermissions::AllPermissions(),
std::string(),
base::FilePath(),
base::FilePath(),
false ,
false ));
ppapi_host_->set_plugin_process_handle(base::GetCurrentProcessHandle());
}
BrowserPpapiHostTest::~BrowserPpapiHostTest() {
}
BrowserPpapiHost* BrowserPpapiHostTest::GetBrowserPpapiHost() {
return ppapi_host_.get();
}
}