Update V8 to version 4.7.19.
[chromium-blink-merge.git] / ppapi / tests / extensions / load_unload / load_unload.cc
blobf16abbc24a0ca1edcb22228523b7bbeac8dda46b
1 // Copyright 2015 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 #include "ppapi/cpp/instance.h"
6 #include "ppapi/cpp/module.h"
8 namespace {
10 class Module : public pp::Module {
11 public:
12 virtual pp::Instance* CreateInstance(PP_Instance instance) {
13 return new pp::Instance(instance);
17 } // namespace
19 namespace pp {
21 Module* CreateModule() {
22 return new ::Module();
25 } // namespace pp