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

Unified Diff: content/shell/browser/shell_mojo_test_utils_android.cc

Issue 1831173002: Scaffolding for Android implementation of PaymentRequest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo
Patch Set: thestig@ & esprehn@ comments Created 4 years, 8 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 | « content/public/browser/android/service_registry_android.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_mojo_test_utils_android.cc
diff --git a/content/shell/browser/shell_mojo_test_utils_android.cc b/content/shell/browser/shell_mojo_test_utils_android.cc
index 807cb57fa8804a023cc90cc7180dbd81350a23c1..372b827ed8170144f002dd6ebcd909dbb96c3cf9 100644
--- a/content/shell/browser/shell_mojo_test_utils_android.cc
+++ b/content/shell/browser/shell_mojo_test_utils_android.cc
@@ -9,8 +9,8 @@
#include "base/memory/scoped_vector.h"
#include "base/message_loop/message_loop.h"
#include "base/run_loop.h"
-#include "content/browser/mojo/service_registry_android.h"
#include "content/common/mojo/service_registry_impl.h"
+#include "content/public/browser/android/service_registry_android.h"
#include "jni/ShellMojoTestUtils_jni.h"
namespace {
@@ -57,10 +57,10 @@ static ScopedJavaLocalRef<jobject> CreateServiceRegistryPair(
registry_a->BindRemoteServiceProvider(std::move(exposed_services_b));
content::ServiceRegistryAndroid* wrapper_a =
- new ServiceRegistryAndroid(registry_a);
+ ServiceRegistryAndroid::Create(registry_a).release();
test_environment->wrappers.push_back(wrapper_a);
content::ServiceRegistryAndroid* wrapper_b =
- new ServiceRegistryAndroid(registry_b);
+ ServiceRegistryAndroid::Create(registry_b).release();
test_environment->wrappers.push_back(wrapper_b);
return Java_ShellMojoTestUtils_makePair(env, wrapper_a->GetObj().obj(),
« no previous file with comments | « content/public/browser/android/service_registry_android.h ('k') | third_party/WebKit/public/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698