1 // Copyright 2020 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_HOST_HELPER_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_HOST_HELPER_H_
7 
8 #include <string>
9 
10 #include "ash/public/cpp/app_types.h"
11 
12 namespace chromeos {
13 
14 namespace input_host_helper {
15 
16 struct InputAssociatedHost {
17   // Type of app associated with this text field.
18   ash::AppType app_type;
19   // Key of app associated with this text field.
20   std::string app_key;
21 };
22 
23 void PopulateInputHost(InputAssociatedHost* host);
24 
25 }  // namespace input_host_helper
26 }  // namespace chromeos
27 
28 #endif  // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_INPUT_HOST_HELPER_H_
29