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

Unified Diff: mojo/services/catalog/catalog.h

Issue 1818373003: Move serialize/deserialize logic onto Entry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/services/catalog/catalog.h
diff --git a/mojo/services/catalog/catalog.h b/mojo/services/catalog/catalog.h
index dd0e53a7ed9a07808aa289bfdd5f901c9d57fc3b..274a644a7180b4320029e3c7fbc573a4be81c157 100644
--- a/mojo/services/catalog/catalog.h
+++ b/mojo/services/catalog/catalog.h
@@ -76,7 +76,9 @@ class Catalog : public mojom::Resolver,
void SerializeCatalog();
// Construct a catalog entry from |dictionary|.
- const Entry& DeserializeApplication(const base::DictionaryValue* dictionary);
+ Entry::DeserializeResult DeserializeApplication(
+ const base::DictionaryValue* dictionary,
+ Entry* out_entry);
GURL GetManifestURL(const std::string& name);

Powered by Google App Engine
This is Rietveld 408576698