- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / translate / translate_event_details.h
1 // Copyright 2013 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.
4
5 #ifndef CHROME_BROWSER_TRANSLATE_TRANSLATE_EVENT_DETAILS_H_
6 #define CHROME_BROWSER_TRANSLATE_TRANSLATE_EVENT_DETAILS_H_
7
8 #include <string>
9
10 #include "base/time/time.h"
11
12 struct TranslateEventDetails {
13   TranslateEventDetails(const std::string& in_filename,
14                         int in_line,
15                         const std::string& in_message);
16
17   // The time when this event was created.
18   base::Time time;
19
20   // The source filename where this event was created.
21   std::string filename;
22
23   // The source line in |filename| where this event was created.
24   int line;
25
26   // The message to show in event logs.
27   std::string message;
28 };
29
30 #endif  // CHROME_BROWSER_TRANSLATE_TRANSLATE_EVENT_DETAILS_H_