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

Unified Diff: components/clipboard/clipboard_apptest.cc

Issue 1455833005: Convert ConnectToApplication to take a params class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 | « no previous file | components/devtools_service/devtools_http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/clipboard/clipboard_apptest.cc
diff --git a/components/clipboard/clipboard_apptest.cc b/components/clipboard/clipboard_apptest.cc
index 081fac36782bd47a4eba45e3fcc79e5fbf77a6ee..1f00970451acb07c4bed1ec4ccc42b49e2afcebb 100644
--- a/components/clipboard/clipboard_apptest.cc
+++ b/components/clipboard/clipboard_apptest.cc
@@ -54,9 +54,7 @@ class ClipboardAppTest : public mojo::test::ApplicationTestBase {
void SetUp() override {
mojo::test::ApplicationTestBase::SetUp();
- mojo::URLRequestPtr request(mojo::URLRequest::New());
- request->url = mojo::String::From("mojo:clipboard");
- application_impl()->ConnectToService(request.Pass(), &clipboard_);
+ application_impl()->ConnectToService("mojo:clipboard", &clipboard_);
}
uint64_t GetSequenceNumber() {
« no previous file with comments | « no previous file | components/devtools_service/devtools_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698