15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// found in the LICENSE file.
45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "components/translate/core/common/translate_switches.h"
65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace translate {
85d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace switches {
95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Allows disabling of translate from the command line to assist with automated
115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// browser testing (e.g. Selenium/WebDriver). Normal browser users should
125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// disable translate with the preference.
135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)const char kDisableTranslate[] = "disable-translate";
145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Overrides the default server used for Google Translate.
165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)const char kTranslateScriptURL[] = "translate-script-url";
175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Overrides security-origin with which Translate runs in an isolated world.
195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)const char kTranslateSecurityOrigin[] = "translate-security-origin";
205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}  // namespace switches
225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}  // namespace translate
23