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

Side by Side Diff: components/profile_service/public/interfaces/profile.mojom

Issue 1879233002: Move components\profile_service to services\user (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move3
Patch Set: . Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module profile;
6
7 import "components/filesystem/public/interfaces/directory.mojom";
8 import "components/filesystem/public/interfaces/types.mojom";
9
10 // An encapsulation around the per-profile storage.
11 //
12 // TODO(erg): A Profile should be strongly bound to a User; eventually, during
13 // startup of the Profile process, we sandbox the process so the only directory
14 // it has access to is the User's profile.
15 interface ProfileService {
16 // Returns the user profile directory.
17 GetDirectory(filesystem.Directory& dir) => ();
18
19 // Returns a subdirectory under the profile dir. Returns a filesystem error
20 // when we fail to create the subdirectory.
21 GetSubDirectory(string dir_path, filesystem.Directory& dir)
22 => (filesystem.FileError err);
23 };
OLDNEW
« no previous file with comments | « components/profile_service/public/interfaces/BUILD.gn ('k') | components/profile_service/user_id_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698