blob: cd7b696e2bcc6e99f7fa0cf7dc464aae8cfbe281 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
#define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
#include "base/time/time.h"
#include "components/translate/core/common/translate_errors.h"
#include "url/gurl.h"
namespace translate {
struct TranslateErrorDetails {
// The time when this was created
base::Time time;
// The URL
GURL url;
// Translation error type
TranslateErrors::Type error;
};
} // namespace translate
#endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_