// Copyright 2014 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_ #define COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_ namespace translate { // This file consolidates all the error types for translation of a page. // Note: TranslateErrors is used for UMA and translate_internals.js. // Assigned numbers should be changed because the number is binded to UMA value. // enum TranslateError in histograms.xml and errorStrs in translate_internals.js // should be updated when the type is updated. enum class TranslateErrors { … }; } // namespace translate #endif // COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_