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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts_test/module.cc

Issue 11066105: [NaCl SDK] nacl_mounts: wrap functions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win fix Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts_test/kernel_wrap_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_mounts_test/module.cc
diff --git a/ppapi/proxy/ppapi_perftests.cc b/native_client_sdk/src/libraries/nacl_mounts_test/module.cc
similarity index 58%
copy from ppapi/proxy/ppapi_perftests.cc
copy to native_client_sdk/src/libraries/nacl_mounts_test/module.cc
index a9138e6a2a2d90d9dcd2b013a699fe110be75eec..0eee65f10885a0f38d65e8c06599cbb8b454a65d 100644
--- a/ppapi/proxy/ppapi_perftests.cc
+++ b/native_client_sdk/src/libraries/nacl_mounts_test/module.cc
@@ -1,10 +1,12 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "gtest_ppapi/gtest_module.h"
-#include "base/test/perf_test_suite.h"
+namespace pp {
-int main(int argc, char** argv) {
- return base::PerfTestSuite(argc, argv).Run();
+Module* CreateModule() {
+ return new GTestModule();
}
+} // namespace pp
« no previous file with comments | « native_client_sdk/src/libraries/nacl_mounts_test/kernel_wrap_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698