summaryrefslogtreecommitdiffstats
path: root/mojo/services/catalog/builder.h
diff options
context:
space:
mode:
authorben <ben@chromium.org>2016-03-22 12:23:05 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-22 19:24:32 +0000
commit96bdd00a3c4db5cdf69e3e3e5a875c31ac413224 (patch)
treea067df7347504485abe170f911d18bdb5f467f1c /mojo/services/catalog/builder.h
parent7131ebe0af4b20c6b0d8c138733cf944094e5adb (diff)
downloadchromium_src-96bdd00a3c4db5cdf69e3e3e5a875c31ac413224.zip
chromium_src-96bdd00a3c4db5cdf69e3e3e5a875c31ac413224.tar.gz
chromium_src-96bdd00a3c4db5cdf69e3e3e5a875c31ac413224.tar.bz2
Move serialize/deserialize logic onto Entry.
I'm trying to shift manifest reading/deserialization out of the catalog. The idea is we'll end up with two instances of the catalog per user, linked, one with the user-specific entries, and one with the entries that came with the distribution. I also flipped some of the CHECK()s in dictionary analysis to return errors. Eventually this should throw a more meaningful error via Shell::Connect(). R=sky@chromium.org BUG= Review URL: https://codereview.chromium.org/1818373003 Cr-Commit-Position: refs/heads/master@{#382633}
Diffstat (limited to 'mojo/services/catalog/builder.h')
-rw-r--r--mojo/services/catalog/builder.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/mojo/services/catalog/builder.h b/mojo/services/catalog/builder.h
deleted file mode 100644
index 71eebf1..0000000
--- a/mojo/services/catalog/builder.h
+++ /dev/null
@@ -1,22 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_SERVICES_CATALOG_BUILDER_H_
-#define MOJO_SERVICES_CATALOG_BUILDER_H_
-
-#include "mojo/services/catalog/entry.h"
-
-namespace base {
-class DictionaryValue;
-}
-
-namespace catalog {
-
-Entry BuildEntry(const base::DictionaryValue& value);
-
-scoped_ptr<base::DictionaryValue> SerializeEntry(const Entry& entry);
-
-} // namespace catalog
-
-#endif // MOJO_SERVICES_CATALOG_BUILDER_H_