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

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: Don't add a boolean to BrowserContext; allocate an object instead. 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
« no previous file with comments | « components/profile_service/public/interfaces/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..898f4576ce2a3902c6a8d02beb941ad4b9146415
--- /dev/null
+++ b/components/profile_service/public/interfaces/profile.mojom
@@ -0,0 +1,17 @@
+// 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.
+//
+// TODO(erg): A Profile should be strongly bound to a User; eventually, 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 the user profile directory.
+ GetDirectory(filesystem.Directory& dir);
+};
« no previous file with comments | « components/profile_service/public/interfaces/BUILD.gn ('k') | content/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698