Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: chrome/browser/translate/translate_error_details.h

Issue 15881006: Added 'error logs' tab to chrome://translte-internals. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..1418755aeaea5291e137098e42a37f76f17ce2fb
--- /dev/null
+++ b/chrome/browser/translate/translate_error_details.h
@@ -0,0 +1,26 @@
+// 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 {
+ TranslateErrorDetails();
Takashi Toyoshima 2013/05/27 10:15:34 remove these constructor/destructor.
hajimehoshi 2013/05/28 01:31:24 Done.
+ ~TranslateErrorDetails();
+
+ // The time when this was created
+ base::Time time;
+
+ // The URL
+ GURL url;
+
+ // Translation error type
+ TranslateErrors::Type error;
+};
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698