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

Side by Side Diff: chrome/browser/chromeos/login/auth/mount_manager.cc

Issue 444903002: [cros] user_manager component - move UserManagerBase and UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/auth/mount_manager.h" 5 #include "chrome/browser/chromeos/login/auth/mount_manager.h"
6 6
7 #include "chrome/browser/chromeos/login/users/user_manager.h"
8 #include "chrome/browser/chromeos/profiles/profile_helper.h" 7 #include "chrome/browser/chromeos/profiles/profile_helper.h"
9 8
10 namespace chromeos { 9 namespace chromeos {
11 10
12 MountManager* MountManager::Get() { 11 MountManager* MountManager::Get() {
13 if (!instance_) 12 if (!instance_)
14 instance_ = new MountManager(); 13 instance_ = new MountManager();
15 return instance_; 14 return instance_;
16 } 15 }
17 16
(...skipping 22 matching lines...) Expand all
40 void MountManager::SetPath(const std::string& user_id, 39 void MountManager::SetPath(const std::string& user_id,
41 const base::FilePath& path) { 40 const base::FilePath& path) {
42 additional_mounts_[user_id] = path; 41 additional_mounts_[user_id] = path;
43 } 42 }
44 43
45 void MountManager::DeletePath(const std::string& user_id) { 44 void MountManager::DeletePath(const std::string& user_id) {
46 additional_mounts_.erase(user_id); 45 additional_mounts_.erase(user_id);
47 } 46 }
48 47
49 } // namespace chromeos 48 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/auth/login_performer.cc ('k') | chrome/browser/chromeos/login/auth/parallel_authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698