ProjectingObserverChromeos: Drop DBusThreadManager dependency for better testing.
[chromium-blink-merge.git] / components / translate / core / browser / translate_event_details.h
blobcc2d83acbe19ccf705cb2d996db6200bffedf55d
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_TRANSLATE_EVENT_DETAILS_H_
6 #define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_EVENT_DETAILS_H_
8 #include <string>
10 #include "base/time/time.h"
12 namespace translate {
14 struct TranslateEventDetails {
15 TranslateEventDetails(const std::string& in_filename,
16 int in_line,
17 const std::string& in_message);
19 // The time when this event was created.
20 base::Time time;
22 // The source filename where this event was created.
23 std::string filename;
25 // The source line in |filename| where this event was created.
26 int line;
28 // The message to show in event logs.
29 std::string message;
32 } // namespace translate
34 #endif // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_EVENT_DETAILS_H_