OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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/policy/device_local_account.h" | 5 #include "chrome/browser/chromeos/policy/device_local_account.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <set> | 9 #include <set> |
8 | 10 |
9 #include "base/basictypes.h" | |
10 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
12 #include "base/strings/string_number_conversions.h" | 14 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
14 #include "base/values.h" | 16 #include "base/values.h" |
15 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" | 17 #include "chrome/browser/chromeos/ownership/owner_settings_service_chromeos.h" |
16 #include "chrome/browser/chromeos/settings/cros_settings.h" | 18 #include "chrome/browser/chromeos/settings/cros_settings.h" |
17 #include "chromeos/login/user_names.h" | 19 #include "chromeos/login/user_names.h" |
18 #include "chromeos/settings/cros_settings_names.h" | 20 #include "chromeos/settings/cros_settings_names.h" |
19 #include "components/signin/core/account_id/account_id.h" | 21 #include "components/signin/core/account_id/account_id.h" |
20 #include "google_apis/gaia/gaia_auth_util.h" | 22 #include "google_apis/gaia/gaia_auth_util.h" |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 accounts.push_back( | 184 accounts.push_back( |
183 DeviceLocalAccount(static_cast<DeviceLocalAccount::Type>(type), | 185 DeviceLocalAccount(static_cast<DeviceLocalAccount::Type>(type), |
184 account_id, | 186 account_id, |
185 kiosk_app_id, | 187 kiosk_app_id, |
186 kiosk_app_update_url)); | 188 kiosk_app_update_url)); |
187 } | 189 } |
188 return accounts; | 190 return accounts; |
189 } | 191 } |
190 | 192 |
191 } // namespace policy | 193 } // namespace policy |
OLD | NEW |