Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / webui / options / multilanguage_options_browsertest.h
blob7f19e175ac128e4c4415f8f8964c8f25b2dd2eff
1 // Copyright 2015 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_OPTIONS_MULTILANGUAGE_OPTIONS_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_BROWSERTEST_H_
8 #include "base/macros.h"
9 #include "chrome/test/base/web_ui_browser_test.h"
11 // This is a helper class used by multilanguage_options_webui_browsertest.js
12 // to flip the enable-multilingual-spellchecker command line switch and set
13 // the AcceptLanguages and SpellcheckDictionaries preferences.
14 class MultilanguageOptionsBrowserTest : public WebUIBrowserTest {
15 public:
16 MultilanguageOptionsBrowserTest();
17 ~MultilanguageOptionsBrowserTest() override;
18 // Set the kSpellCheckDictionaries preference to an empty list value.
19 void ClearSpellcheckDictionaries();
21 private:
22 void SetUpCommandLine(base::CommandLine* command_line) override;
23 void SetUpOnMainThread() override;
24 void SetDictionariesPref(const base::ListValue& value);
26 DISALLOW_COPY_AND_ASSIGN(MultilanguageOptionsBrowserTest);
29 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_MULTILANGUAGE_OPTIONS_BROWSERTEST_H_