Index: chrome/browser/translate/translate_error_details.h |
diff --git a/chrome/browser/translate/translate_error_details.h b/chrome/browser/translate/translate_error_details.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fcd19550f8174423a7b12774a1ae8945f2a08398 |
--- /dev/null |
+++ b/chrome/browser/translate/translate_error_details.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2013 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 CHROME_BROWSER_TRANSLATE_TRANSLATE_ERROR_DETAILS_H_ |
+#define CHROME_BROWSER_TRANSLATE_TRANSLATE_ERROR_DETAILS_H_ |
+ |
+#include "base/time.h" |
+#include "chrome/common/translate_errors.h" |
+#include "googleurl/src/gurl.h" |
+ |
+struct TranslateErrorDetails { |
+ // The time when this was created |
+ base::Time time; |
+ |
+ // The URL |
+ GURL url; |
+ |
+ // Translation error type |
+ TranslateErrors::Type error; |
+}; |
+ |
+#endif |