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

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: Fix compilation Created 7 years, 3 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_constants.cc
diff --git a/printing/image_android.cc b/components/translate/common/translate_constants.cc
similarity index 51%
copy from printing/image_android.cc
copy to components/translate/common/translate_constants.cc
index 544cf070d93f723ca2bd9a3a715863f13d98e76d..a51bb9349801d031f545cdbc037a8c8c34a98ac4 100644
--- a/printing/image_android.cc
+++ b/components/translate/common/translate_constants.cc
@@ -2,12 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "printing/image.h"
+#include "components/translate/common/translate_constants.h"
-namespace printing {
+namespace translate {
-bool Image::LoadMetafile(const Metafile& metafile) {
- return false;
-}
+const char* const kUnknownLanguageCode = "und";
-} // namespace printing
+} // namespace translate

Powered by Google App Engine
This is Rietveld 408576698