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

Unified Diff: services/catalog/manifest_provider.h

Issue 2259903002: 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 7a64e49d1b074376c029f7ee90c0b0bc2e8bad71..f16ca9f2f1a1c4a257ba2488d21a069af10500c1 100644
--- a/services/catalog/manifest_provider.h
+++ b/services/catalog/manifest_provider.h
@@ -7,7 +7,9 @@
#include <string>
-#include "base/strings/string_piece.h"
+namespace base {
+class Value;
+}
namespace catalog {
@@ -20,8 +22,7 @@ class ManifestProvider {
// 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 bool GetApplicationManifest(const base::StringPiece& name,
- std::string* manifest_contents) = 0;
+ virtual std::unique_ptr<base::Value> GetManifest(const std::string& name) = 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