// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "components/translate/content/browser/content_record_page_language.h" #include "content/public/browser/navigation_entry.h" namespace translate { namespace { // The key used to store page language in the NavigationEntry; const char kPageLanguageKey[] = …; struct LanguageDetectionData : public base::SupportsUserData::Data { … }; } // namespace std::string GetPageLanguageFromNavigation(content::NavigationEntry* entry) { … } void SetPageLanguageInNavigation(const std::string& page_language, content::NavigationEntry* entry) { … } } // namespace translate