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

Unified Diff: components/test/run_all_unittests.cc

Issue 1684153002: Web restrictions component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix GN test target names Created 4 years, 10 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: components/test/run_all_unittests.cc
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc
index 4263b424ad5bbfcf8bad578f47f9e225408d3447..7c1994ece2c9c174d0abc333786e247bd2372df9 100644
--- a/components/test/run_all_unittests.cc
+++ b/components/test/run_all_unittests.cc
@@ -29,6 +29,7 @@
#include "components/policy/core/browser/android/component_jni_registrar.h"
#include "components/safe_json/android/component_jni_registrar.h"
#include "components/signin/core/browser/android/component_jni_registrar.h"
+#include "components/web_restrictions/browser/mock_web_restrictions_client.h"
#include "content/public/test/test_utils.h"
#include "net/android/net_jni_registrar.h"
#include "ui/base/android/ui_base_jni_registrar.h"
@@ -68,6 +69,7 @@ class ComponentsTestSuite : public base::TestSuite {
ASSERT_TRUE(signin::android::RegisterSigninJni(env));
ASSERT_TRUE(net::android::RegisterJni(env));
ASSERT_TRUE(content::RegisterJniForTesting(env));
+ ASSERT_TRUE(web_restrictions::MockWebRestrictionsClient::Register(env));
Bernhard Bauer 2016/02/23 14:29:13 Bonus points for sorting these alphabetically.
aberent 2016/02/23 16:26:51 Done.
#endif
ui::RegisterPathProvider();

Powered by Google App Engine
This is Rietveld 408576698