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

Side by Side Diff: components/translate/core/browser/translate_error_details.h

Issue 378253002: Fix translate namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing android build errors Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "components/translate/core/common/translate_errors.h" 9 #include "components/translate/core/common/translate_errors.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
11 11
12 namespace translate {
13
12 struct TranslateErrorDetails { 14 struct TranslateErrorDetails {
13 // The time when this was created 15 // The time when this was created
14 base::Time time; 16 base::Time time;
15 17
16 // The URL 18 // The URL
17 GURL url; 19 GURL url;
18 20
19 // Translation error type 21 // Translation error type
20 TranslateErrors::Type error; 22 TranslateErrors::Type error;
21 }; 23 };
22 24
25 } // namespace translate
26
23 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_ 27 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_ERROR_DETAILS_H_
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_driver.h ('k') | components/translate/core/browser/translate_event_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698