| 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 #ifndef COMPONENTS_LOGIN_BASE_SCREEN_HANDLER_UTILS_H_ | 5 #ifndef COMPONENTS_LOGIN_BASE_SCREEN_HANDLER_UTILS_H_ |
| 6 #define COMPONENTS_LOGIN_BASE_SCREEN_HANDLER_UTILS_H_ | 6 #define COMPONENTS_LOGIN_BASE_SCREEN_HANDLER_UTILS_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <cstddef> | 10 #include <cstddef> |
| 9 #include <string> | 11 #include <string> |
| 10 | 12 |
| 11 #include "base/callback.h" | 13 #include "base/callback.h" |
| 12 #include "base/logging.h" | 14 #include "base/logging.h" |
| 13 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
| 14 #include "base/tuple.h" | 16 #include "base/tuple.h" |
| 15 #include "base/values.h" | 17 #include "base/values.h" |
| 16 #include "components/login/login_export.h" | 18 #include "components/login/login_export.h" |
| 17 #include "components/signin/core/account_id/account_id.h" | 19 #include "components/signin/core/account_id/account_id.h" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void CallbackWrapper(const base::Callback<void(Args...)>& callback, | 97 void CallbackWrapper(const base::Callback<void(Args...)>& callback, |
| 96 const base::ListValue* args) { | 98 const base::ListValue* args) { |
| 97 DispatchToCallback(callback, args, | 99 DispatchToCallback(callback, args, |
| 98 base::MakeIndexSequence<sizeof...(Args)>()); | 100 base::MakeIndexSequence<sizeof...(Args)>()); |
| 99 } | 101 } |
| 100 | 102 |
| 101 | 103 |
| 102 } // namespace login | 104 } // namespace login |
| 103 | 105 |
| 104 #endif // COMPONENTS_LOGIN_BASE_SCREEN_HANDLER_UTILS_H_ | 106 #endif // COMPONENTS_LOGIN_BASE_SCREEN_HANDLER_UTILS_H_ |
| OLD | NEW |