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

Unified Diff: components/translate/common/translate_constants.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_constants.h ('k') | components/translate/common/translate_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/common/translate_constants.cc
diff --git a/content/common/gpu/surface_capturer.cc b/components/translate/common/translate_constants.cc
similarity index 51%
copy from content/common/gpu/surface_capturer.cc
copy to components/translate/common/translate_constants.cc
index ce02b4d83191c910841ef5f12ccfeba55d7e2dae..a51bb9349801d031f545cdbc037a8c8c34a98ac4 100644
--- a/content/common/gpu/surface_capturer.cc
+++ b/components/translate/common/translate_constants.cc
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/common/gpu/surface_capturer.h"
+#include "components/translate/common/translate_constants.h"
-namespace content {
+namespace translate {
-SurfaceCapturer::~SurfaceCapturer() {}
+const char* const kUnknownLanguageCode = "und";
-} // namespace content
+} // namespace translate
« no previous file with comments | « components/translate/common/translate_constants.h ('k') | components/translate/common/translate_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698