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

Unified Diff: services/user/user_id_map.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/user/user.gyp ('k') | services/user/user_id_map.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/user/user_id_map.h
diff --git a/components/profile_service/user_id_map.h b/services/user/user_id_map.h
similarity index 52%
rename from components/profile_service/user_id_map.h
rename to services/user/user_id_map.h
index 4d5a56b6379d9d3701b98bedc71a30af965ddffe..217a15c6189e595de9c01719939168b20acc16ca 100644
--- a/components/profile_service/user_id_map.h
+++ b/services/user/user_id_map.h
@@ -2,30 +2,30 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_PROFILE_SERVICE_USER_ID_MAP_H_
-#define COMPONENTS_PROFILE_SERVICE_USER_ID_MAP_H_
+#ifndef SERVICES_USER_USER_ID_MAP_H_
+#define SERVICES_USER_USER_ID_MAP_H_
#include <string>
#include "base/files/file_path.h"
-namespace profile {
+namespace user_service {
-// Currently, ProfileApp is run from within the chrome process. This means that
+// Currently, UserApp is run from within the chrome process. This means that
// the ApplicationLoader is registered during MojoShellContext startup, even
// though the application itself is not started. As soon as a BrowserContext is
// created, the BrowserContext will choose a |user_id| for itself and call us
-// to register the mapping from |user_id| to |profile_data_dir|.
+// to register the mapping from |user_id| to |user_dir|.
//
// This data is then accessed when we get our Initialize() call.
//
// TODO(erg): This is a temporary hack until we redo how we initialize mojo
// applications inside of chrome in general; this system won't work once
-// ProfileApp gets put in its own sandboxed process.
-void AssociateMojoUserIDWithProfileDir(const std::string& user_id,
- const base::FilePath& profile_data_dir);
+// UserApp gets put in its own sandboxed process.
+void AssociateMojoUserIDWithUserDir(const std::string& user_id,
+ const base::FilePath& user_dir);
-base::FilePath GetProfileDirForUserID(const std::string& user_id);
+base::FilePath GetUserDirForUserID(const std::string& user_id);
-} // namespace profile
+} // namespace user_service
-#endif // COMPONENTS_PROFILE_SERVICE_USER_ID_MAP_H_
+#endif // SERVICES_USER_USER_ID_MAP_H_
« no previous file with comments | « services/user/user.gyp ('k') | services/user/user_id_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698