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

Unified Diff: services/catalog/entry.h

Issue 2338793003: services/shell: Turn on sandboxing for mojo apps.
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 | « components/leveldb/manifest.json ('k') | services/catalog/entry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/entry.h
diff --git a/services/catalog/entry.h b/services/catalog/entry.h
index 93d4a914a7c2d906ec33793c02ac98d4c034b0b0..1be1503419b7be5f0520230795e57a1df7cf6789 100644
--- a/services/catalog/entry.h
+++ b/services/catalog/entry.h
@@ -60,6 +60,9 @@ class Entry {
return std::move(children_);
}
+ bool privileged() const { return privileged_; }
+ void set_privileged(bool privileged) { privileged_ = privileged; }
+
private:
std::string name_;
base::FilePath path_;
@@ -67,6 +70,7 @@ class Entry {
std::string display_name_;
shell::CapabilitySpec capabilities_;
Entry* package_ = nullptr;
+ bool privileged_ = false;
std::vector<std::unique_ptr<Entry>> children_;
};
« no previous file with comments | « components/leveldb/manifest.json ('k') | services/catalog/entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698