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

Unified Diff: mojo/shell/background/tests/test_application_catalog_store.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
« no previous file with comments | « mojo/shell/background/tests/test_application_catalog_store.h ('k') | mojo/shell/capability_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/background/tests/test_application_catalog_store.cc
diff --git a/mojo/shell/background/tests/test_application_catalog_store.cc b/mojo/shell/background/tests/test_application_catalog_store.cc
index 7c0a2c9127289b6b24da7a4901b7baaa5d320884..d5de582674af2ea8e0e1cc92565bb81d5a0e324d 100644
--- a/mojo/shell/background/tests/test_application_catalog_store.cc
+++ b/mojo/shell/background/tests/test_application_catalog_store.cc
@@ -4,8 +4,6 @@
#include "mojo/shell/background/tests/test_application_catalog_store.h"
-#include "url/gurl.h"
-
using package_manager::ApplicationCatalogStore;
namespace mojo {
@@ -26,11 +24,11 @@ void TestApplicationCatalogStore::UpdateStore(
scoped_ptr<base::ListValue> store) {}
scoped_ptr<base::DictionaryValue> BuildPermissiveSerializedAppInfo(
- const GURL& url,
- const std::string& name) {
+ const std::string& name,
+ const std::string& display_name) {
scoped_ptr<base::DictionaryValue> app(new base::DictionaryValue);
- app->SetString(ApplicationCatalogStore::kUrlKey, url.spec());
app->SetString(ApplicationCatalogStore::kNameKey, name);
+ app->SetString(ApplicationCatalogStore::kDisplayNameKey, display_name);
scoped_ptr<base::DictionaryValue> capabilities(new base::DictionaryValue);
scoped_ptr<base::ListValue> interfaces(new base::ListValue);
« no previous file with comments | « mojo/shell/background/tests/test_application_catalog_store.h ('k') | mojo/shell/capability_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698