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

Unified Diff: pdf/run_all_unittests.cc

Issue 2349753003: Improve linearized pdf load/show time. (Closed)
Patch Set: Fix review issues. Created 4 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
Index: pdf/run_all_unittests.cc
diff --git a/base/test/run_all_unittests.cc b/pdf/run_all_unittests.cc
similarity index 66%
copy from base/test/run_all_unittests.cc
copy to pdf/run_all_unittests.cc
index 05f30120c2fad288d31489cb8579a399c433e78f..2a7d680616d72cbe942af213e3785c4512af8d84 100644
--- a/base/test/run_all_unittests.cc
+++ b/pdf/run_all_unittests.cc
@@ -1,11 +1,20 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright (c) 2016 The Chromium Authors. All rights reserved.
Lei Zhang 2016/10/21 09:33:10 nit: no "(c)", same in other newly added files.
snake 2016/10/21 15:13:15 Done.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/bind.h"
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
-#include "build/build_config.h"
+
+// ppapi_cpp won't link w/o this.
+namespace pp {
+
+class Module;
+
+Module* CreateModule() {
+ return nullptr;
+}
+
+} // namespace pp
int main(int argc, char** argv) {
base::TestSuite test_suite(argc, argv);

Powered by Google App Engine
This is Rietveld 408576698