chromium/third_party/ced/src/util/languages/languages.cc

// Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////

#include "util/languages/languages.h"

#include "util/basictypes.h"
#include "util/string_util.h"


Language default_language() {}


// Language names and codes

struct LanguageInfo {};

static const LanguageInfo kLanguageInfoTable[] =;

COMPILE_ASSERT();


// LANGUAGE NAMES

const char* default_language_name() {}

static const char* const kInvalidLanguageName =;

const char *invalid_language_name() {}

const char* LanguageName(Language lang) {}



// LANGUAGE CODES


// The space before invalid_language_code is intentional. It is used
// to prevent it matching any two letter language code.
//
static const char* const kInvalidLanguageCode =;

const char *invalid_language_code() {}

const char * LanguageCode(Language lang) {}

const char* default_language_code() {}

const char* LanguageCodeISO639_1(Language lang) {}

const char* LanguageCodeISO639_2(Language lang) {}

const char* LanguageCodeWithDialects(Language lang) {}



bool LanguageFromCode(const char* lang_code, Language *language) {}