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

Unified Diff: components/test/run_all_unittests.cc

Issue 1028543002: Turn the utility process image decoder into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and address comments. Created 5 years, 7 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 | « components/image_decoder/public/interfaces/image_decoder.mojom ('k') | skia/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test/run_all_unittests.cc
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc
index 9b5962815c618e600d1a220fbe03fc32653d5c06..d6bb5e2bd610607409a32482a4c2a8d5d088ea53 100644
--- a/components/test/run_all_unittests.cc
+++ b/components/test/run_all_unittests.cc
@@ -11,6 +11,7 @@
#include "base/test/test_suite.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
#include "content/public/test/test_content_client_initializer.h"
+#include "content/public/test/unittest_test_suite.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
@@ -113,7 +114,8 @@ class ComponentsUnitTestEventListener : public testing::EmptyTestEventListener {
} // namespace
int main(int argc, char** argv) {
- ComponentsTestSuite test_suite(argc, argv);
+ // UnitTestTestSuite initializes blink.
+ content::UnitTestTestSuite test_suite(new ComponentsTestSuite(argc, argv));
// The listener will set up common test environment for all components unit
// tests.
@@ -122,6 +124,6 @@ int main(int argc, char** argv) {
listeners.Append(new ComponentsUnitTestEventListener());
return base::LaunchUnitTests(
- argc, argv, base::Bind(&base::TestSuite::Run,
+ argc, argv, base::Bind(&content::UnitTestTestSuite::Run,
base::Unretained(&test_suite)));
}
« no previous file with comments | « components/image_decoder/public/interfaces/image_decoder.mojom ('k') | skia/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698