ProjectingObserverChromeos: Drop DBusThreadManager dependency for better testing.
[chromium-blink-merge.git] / components / translate / core / browser / page_translated_details.h
blobacc484e850da7d663aa7fc3e0eb2caf0357f7099
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_
8 #include <string>
10 #include "components/translate/core/common/translate_errors.h"
12 namespace translate {
14 // Used when sending a notification about a page that has been translated.
15 struct PageTranslatedDetails {
16 std::string source_language;
17 std::string target_language;
18 TranslateErrors::Type error_type;
21 } // namespace translate
23 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_PAGE_TRANSLATED_DETAILS_H_