Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / nacl / simple.cc
blobc539fbb9590380c10962e2242de33821ca73e051
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 #include "ppapi/cpp/instance.h"
6 #include "ppapi/cpp/module.h"
8 class SimpleInstance : public pp::Instance {
9 public:
10 explicit SimpleInstance(PP_Instance instance) : pp::Instance(instance) {
14 class SimpleModule : public pp::Module {
15 public:
16 virtual pp::Instance* CreateInstance(PP_Instance instance) {
17 return new SimpleInstance(instance);
21 namespace pp {
23 Module* CreateModule() {
24 return new SimpleModule();
27 } // namespace pp