OLD | NEW |
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/users/chrome_user_manager_impl.h" | 5 #include "chrome/browser/chromeos/login/users/chrome_user_manager_impl.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <cstddef> | 9 #include <cstddef> |
8 #include <set> | 10 #include <set> |
9 | 11 |
10 #include "ash/multi_profile_uma.h" | 12 #include "ash/multi_profile_uma.h" |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
13 #include "base/command_line.h" | 15 #include "base/command_line.h" |
14 #include "base/compiler_specific.h" | 16 #include "base/compiler_specific.h" |
15 #include "base/format_macros.h" | 17 #include "base/format_macros.h" |
16 #include "base/logging.h" | 18 #include "base/logging.h" |
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 new base::StringValue(account_id.GetUserEmail())); | 1189 new base::StringValue(account_id.GetUserEmail())); |
1188 } | 1190 } |
1189 | 1191 |
1190 void ChromeUserManagerImpl::RemoveReportingUser(const AccountId& account_id) { | 1192 void ChromeUserManagerImpl::RemoveReportingUser(const AccountId& account_id) { |
1191 ListPrefUpdate users_update(GetLocalState(), kReportingUsers); | 1193 ListPrefUpdate users_update(GetLocalState(), kReportingUsers); |
1192 users_update->Remove( | 1194 users_update->Remove( |
1193 base::StringValue(FullyCanonicalize(account_id.GetUserEmail())), NULL); | 1195 base::StringValue(FullyCanonicalize(account_id.GetUserEmail())), NULL); |
1194 } | 1196 } |
1195 | 1197 |
1196 } // namespace chromeos | 1198 } // namespace chromeos |
OLD | NEW |