Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: ppapi/tests/extensions/load_unload/load_unload.cc

Issue 1117023002: Keep event page alive when there's some Pepper plugin on it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove DCHECK. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #include "ppapi/cpp/instance.h"
6 #include "ppapi/cpp/module.h"
7
8 namespace {
9
10 class Module : public pp::Module {
11 public:
12 virtual pp::Instance* CreateInstance(PP_Instance instance) {
13 return new pp::Instance(instance);
14 }
15 };
16
17 } // namespace
18
19 namespace pp {
20
21 Module* CreateModule() {
22 return new ::Module();
23 }
24
25 } // namespace pp
OLDNEW
« no previous file with comments | « ppapi/tests/extensions/load_unload/ext_icon.png ('k') | ppapi/tests/extensions/load_unload/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698