Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: components/translate/common/translate_switches.cc

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Run translate unittests on iOS Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/translate/common/translate_switches.h ('k') | components/translate/common/translate_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/common/translate_switches.cc
diff --git a/android_webview/common/aw_switches.cc b/components/translate/common/translate_switches.cc
similarity index 45%
copy from android_webview/common/aw_switches.cc
copy to components/translate/common/translate_switches.cc
index b2663fa8b99bcf163d19e31589ba0ebf85e29bcb..714bbfbb76036b9fa29531be75ec7e25d074caab 100644
--- a/android_webview/common/aw_switches.cc
+++ b/components/translate/common/translate_switches.cc
@@ -2,14 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "android_webview/common/aw_switches.h"
+#include "components/translate/common/translate_switches.h"
+namespace translate {
namespace switches {
-const char kDisableSimpleCache[] = "disable-simple-cache";
-
-const char kDisableWebViewGLMode[] = "disable-webview-gl-mode";
-
-const char kTileMemoryMultiplier[] = "tile-memory-multiplier";
+// Overrides security-origin with which Translate runs in an isolated world.
+const char kTranslateSecurityOrigin[] = "translate-security-origin";
} // namespace switches
+} // namespace translate
« no previous file with comments | « components/translate/common/translate_switches.h ('k') | components/translate/common/translate_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698