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

Unified Diff: mojo/shell/background/tests/background_shell_unittest.cc

Issue 1743473002: Change Mojo URLs to structured names (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@18collapse
Patch Set: . 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: mojo/shell/background/tests/background_shell_unittest.cc
diff --git a/mojo/shell/background/tests/background_shell_unittest.cc b/mojo/shell/background/tests/background_shell_unittest.cc
index 79be067cc803ac8097d4df44dd91241930d87fa6..bca1798c8adccb44b0d7849bb33d40a3629d7ddf 100644
--- a/mojo/shell/background/tests/background_shell_unittest.cc
+++ b/mojo/shell/background/tests/background_shell_unittest.cc
@@ -11,7 +11,6 @@
#include "mojo/shell/public/cpp/shell_client.h"
#include "mojo/shell/public/cpp/shell_connection.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "url/gurl.h"
namespace mojo {
namespace shell {
@@ -30,7 +29,7 @@ class ShellClientImpl : public ShellClient {
scoped_ptr<TestApplicationCatalogStore> BuildTestApplicationCatalogStore() {
scoped_ptr<base::ListValue> apps(new base::ListValue);
- apps->Append(BuildPermissiveSerializedAppInfo(GURL(kTestUrl), "test"));
+ apps->Append(BuildPermissiveSerializedAppInfo(kTestUrl, "test"));
return make_scoped_ptr(new TestApplicationCatalogStore(std::move(apps)));
}
@@ -53,7 +52,7 @@ TEST(BackgroundShellTest, DISABLED_Basic) {
background_shell.Init(std::move(init_params));
ShellClientImpl shell_client;
ShellConnection shell_connection(
- &shell_client, background_shell.CreateShellClientRequest(GURL(kTestUrl)));
+ &shell_client, background_shell.CreateShellClientRequest(kTestUrl));
shell_connection.WaitForInitialize();
mojom::TestServicePtr test_service;
shell_connection.connector()->ConnectToInterface(

Powered by Google App Engine
This is Rietveld 408576698