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

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

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
Index: components/translate/common/translate_switches.h
diff --git a/android_webview/common/aw_switches.cc b/components/translate/common/translate_switches.h
similarity index 44%
copy from android_webview/common/aw_switches.cc
copy to components/translate/common/translate_switches.h
index b2663fa8b99bcf163d19e31589ba0ebf85e29bcb..2b42bb55d46235bceb7b549e96a5fe7778b3bab9 100644
--- a/android_webview/common/aw_switches.cc
+++ b/components/translate/common/translate_switches.h
@@ -2,14 +2,15 @@
// 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"
+#ifndef COMPONENTS_TRANSLATE_COMMON_TRANSLATE_SWITCHES_H_
+#define 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";
+extern const char kTranslateSecurityOrigin[];
} // namespace switches
+} // namespace translate
+
+#endif // COMPONENTS_TRANSLATE_COMMON_TRANSLATE_SWITCHES_H_
« no previous file with comments | « components/translate/common/translate_metrics_unittest.cc ('k') | components/translate/common/translate_switches.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698