| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // C headers | 5 // C headers |
| 6 #include <cassert> | 6 #include <cassert> |
| 7 #include <cstdio> | 7 #include <cstdio> |
| 8 | 8 |
| 9 // C++ headers | 9 // C++ headers |
| 10 #include <sstream> | 10 #include <sstream> |
| 11 #include <string> | 11 #include <string> |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 // Implement the required pp::CreateModule function that creates our specific | 202 // Implement the required pp::CreateModule function that creates our specific |
| 203 // kind of Module (in this case, EventModule). This is part of the glue code | 203 // kind of Module (in this case, EventModule). This is part of the glue code |
| 204 // that makes our example accessible to ppapi. | 204 // that makes our example accessible to ppapi. |
| 205 namespace pp { | 205 namespace pp { |
| 206 Module* CreateModule() { | 206 Module* CreateModule() { |
| 207 std::printf("Creating EventModule.\n"); | 207 std::printf("Creating EventModule.\n"); |
| 208 return new EventModule(); | 208 return new EventModule(); |
| 209 } | 209 } |
| 210 } | 210 } |
| OLD | NEW |