Index: chrome/browser/ui/webui/options/options_browsertest.cc |
diff --git a/chrome/browser/ui/webui/options/options_browsertest.cc b/chrome/browser/ui/webui/options/options_browsertest.cc |
index e136d92ad7b1f2c3196918d275fd2496f4b0ea80..9544cedc682dde2a28fc5d620f9ad45cc399df21 100644 |
--- a/chrome/browser/ui/webui/options/options_browsertest.cc |
+++ b/chrome/browser/ui/webui/options/options_browsertest.cc |
@@ -5,11 +5,13 @@ |
#include "chrome/browser/ui/webui/options/options_browsertest.h" |
#include "base/bind.h" |
+#include "base/command_line.h" |
#include "base/prefs/pref_service.h" |
#include "base/values.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/tabs/tab_strip_model.h" |
+#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/navigation_controller.h" |
#include "content/public/browser/navigation_entry.h" |
#include "content/public/browser/web_contents.h" |
@@ -68,3 +70,9 @@ void OptionsBrowserTest::HandleSetPref(const base::ListValue* args) { |
content::WebUIMessageHandler* OptionsBrowserTest::GetMockMessageHandler() { |
return this; |
} |
+ |
+void OptionsBrowserTest::SetUpCommandLine( |
please use gerrit instead
2015/06/23 00:43:06
Not a good idea to append --enable-multilingual-sp
Julius
2015/06/24 21:17:59
I just created a MultilanguageOptionsBrowserTest t
|
+ base::CommandLine* command_line) { |
+ WebUIBrowserTest::SetUpCommandLine(command_line); |
+ command_line->AppendSwitch(switches::kEnableMultilingualSpellChecker); |
+} |