| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 #include "ppapi/tests/testing_instance.h" | 5 #include "ppapi/tests/testing_instance.h" | 
| 6 | 6 | 
| 7 #include <algorithm> | 7 #include <algorithm> | 
| 8 #include <cstring> | 8 #include <cstring> | 
| 9 #include <iomanip> | 9 #include <iomanip> | 
| 10 #include <sstream> | 10 #include <sstream> | 
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 317   Module() : pp::Module() {} | 317   Module() : pp::Module() {} | 
| 318   virtual ~Module() {} | 318   virtual ~Module() {} | 
| 319 | 319 | 
| 320   virtual pp::Instance* CreateInstance(PP_Instance instance) { | 320   virtual pp::Instance* CreateInstance(PP_Instance instance) { | 
| 321     return new TestingInstance(instance); | 321     return new TestingInstance(instance); | 
| 322   } | 322   } | 
| 323 }; | 323 }; | 
| 324 | 324 | 
| 325 namespace pp { | 325 namespace pp { | 
| 326 | 326 | 
|  | 327 #if defined(WIN32) | 
|  | 328 __declspec(dllexport) | 
|  | 329 #else | 
|  | 330 __attribute__((visibility("default"))) | 
|  | 331 #endif | 
| 327 Module* CreateModule() { | 332 Module* CreateModule() { | 
| 328   return new ::Module(); | 333   return new ::Module(); | 
| 329 } | 334 } | 
| 330 | 335 | 
| 331 }  // namespace pp | 336 }  // namespace pp | 
| OLD | NEW | 
|---|