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

Side by Side Diff: components/translate/core/browser/page_translated_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_PAGE_TRANSLATED_DETAILS_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_ 6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "components/translate/core/common/translate_errors.h" 10 #include "components/translate/core/common/translate_errors.h"
11 11
12 namespace translate {
13
12 // Used when sending a notification about a page that has been translated. 14 // Used when sending a notification about a page that has been translated.
13 struct PageTranslatedDetails { 15 struct PageTranslatedDetails {
14 std::string source_language; 16 std::string source_language;
15 std::string target_language; 17 std::string target_language;
16 TranslateErrors::Type error_type; 18 TranslateErrors::Type error_type;
17 }; 19 };
18 20
21 } // namespace translate
22
19 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_ 23 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698