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

Unified Diff: components/profile_service/public/interfaces/profile.mojom

Issue 1741953002: mojo: Sketch a profile application. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Maybe fix mojom dependencies Created 4 years, 10 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: components/profile_service/public/interfaces/profile.mojom
diff --git a/components/profile_service/public/interfaces/profile.mojom b/components/profile_service/public/interfaces/profile.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..b6ef2ba992122915912df46a1be7efb0190c5b6c
--- /dev/null
+++ b/components/profile_service/public/interfaces/profile.mojom
@@ -0,0 +1,15 @@
+// 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.
+
+module profile;
+
+import "components/filesystem/public/interfaces/directory.mojom";
+
+// An encapsulation around the per-profile storage to disk. A Profile is
jam 2016/02/27 01:34:45 nit: we're going to add stuff to this later that's
+// strongly bound to a User; during startup of the Profile process, we sandbox
+// the process so the only directory it has access to is the User's profile.
+interface ProfileService {
+ // Returns a directory specific to the Application identity of the caller.
+ GetDirectory(filesystem.Directory& dir);
+};

Powered by Google App Engine
This is Rietveld 408576698