1 // Copyright 2013 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. 4 5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_ERROR_DETAILS_H_ 6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_ERROR_DETAILS_H_ 7 8 #include "base/time/time.h" 9 #include "chrome/common/translate/translate_errors.h" 10 #include "url/gurl.h" 11 12 struct TranslateErrorDetails { 13 // The time when this was created 14 base::Time time; 15 16 // The URL 17 GURL url; 18 19 // Translation error type 20 TranslateErrors::Type error; 21 }; 22 23 #endif // CHROME_BROWSER_TRANSLATE_TRANSLATE_ERROR_DETAILS_H_ 24