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

Side by Side Diff: ppapi/tests/testing_instance.cc

Issue 1333673002: Build PPAPI NaCl Glibc tests with GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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
« no previous file with comments | « ppapi/native_client/src/untrusted/irt_stub/ppapi_plugin_start.c ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ppapi/native_client/src/untrusted/irt_stub/ppapi_plugin_start.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698