[Session restore] Rename group name Enabled to Restore.
[chromium-blink-merge.git] / components / translate / core / browser / translate_error_details.h
blobcd7b696e2bcc6e99f7fa0cf7dc464aae8cfbe281
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
8 #include "base/time/time.h"
9 #include "components/translate/core/common/translate_errors.h"
10 #include "url/gurl.h"
12 namespace translate {
14 struct TranslateErrorDetails {
15 // The time when this was created
16 base::Time time;
18 // The URL
19 GURL url;
21 // Translation error type
22 TranslateErrors::Type error;
25 } // namespace translate
27 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_