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

Unified Diff: services/catalog/manifest_provider.h

Issue 2346593002: Revert of Enforce capability spec renderer <--> browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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 | « content/test/BUILD.gn ('k') | services/catalog/reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/manifest_provider.h
diff --git a/services/catalog/manifest_provider.h b/services/catalog/manifest_provider.h
index f16ca9f2f1a1c4a257ba2488d21a069af10500c1..7a64e49d1b074376c029f7ee90c0b0bc2e8bad71 100644
--- a/services/catalog/manifest_provider.h
+++ b/services/catalog/manifest_provider.h
@@ -7,9 +7,7 @@
#include <string>
-namespace base {
-class Value;
-}
+#include "base/strings/string_piece.h"
namespace catalog {
@@ -22,7 +20,8 @@
// Retrieves the raw contents of the manifest for application named |name|.
// Returns true if |name| is known and |*manifest_contents| is populated.
// returns false otherwise.
- virtual std::unique_ptr<base::Value> GetManifest(const std::string& name) = 0;
+ virtual bool GetApplicationManifest(const base::StringPiece& name,
+ std::string* manifest_contents) = 0;
};
} // namespace catalog
« no previous file with comments | « content/test/BUILD.gn ('k') | services/catalog/reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698