summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/chrome_constants.cc2
-rw-r--r--chrome/common/chrome_constants.h4
2 files changed, 6 insertions, 0 deletions
diff --git a/chrome/common/chrome_constants.cc b/chrome/common/chrome_constants.cc
index 47f0d52..927f7d3 100644
--- a/chrome/common/chrome_constants.cc
+++ b/chrome/common/chrome_constants.cc
@@ -134,6 +134,8 @@ const int kMaxSessionHistoryEntries = 50;
const wchar_t kChromiumRendererIdProperty[] = L"ChromiumRendererId";
+const char* const kUnknownLanguageCode = "und";
+
} // namespace chrome
#undef FPL
diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h
index a1efdbf..84d6052 100644
--- a/chrome/common/chrome_constants.h
+++ b/chrome/common/chrome_constants.h
@@ -90,6 +90,10 @@ extern const int kMaxSessionHistoryEntries;
extern const wchar_t kChromiumRendererIdProperty[];
+// The language code used when the language of a page could not be detected.
+// (Matches what the CLD -Compact Language Detection- library reports.)
+extern const char* const kUnknownLanguageCode;
+
} // namespace chrome
#endif // CHROME_COMMON_CHROME_CONSTANTS_H_