Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / ui / webui / chromeos / login / l10n_util_test_util.h
blobdfbce2b13d2a661c6c30a4c24c48dbd81b7eb2a5
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_TEST_UTIL_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_TEST_UTIL_H_
8 #include <string>
10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "base/values.h"
14 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h"
15 #include "ui/base/ime/chromeos/input_method_descriptor.h"
17 namespace chromeos {
19 class MockInputMethodManagerWithInputMethods
20 : public input_method::MockInputMethodManager {
21 public:
22 MockInputMethodManagerWithInputMethods();
23 ~MockInputMethodManagerWithInputMethods() override;
25 // input_method::MockInputMethodManager:
26 scoped_ptr<input_method::InputMethodDescriptors> GetSupportedInputMethods()
27 const override;
29 void AddInputMethod(const std::string& id,
30 const std::string& raw_layout,
31 const std::string& language_code);
33 private:
34 input_method::InputMethodDescriptors descriptors_;
36 DISALLOW_COPY_AND_ASSIGN(MockInputMethodManagerWithInputMethods);
39 } // namespace chromeos
41 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_L10N_UTIL_TEST_UTIL_H_