OLD | NEW |
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 #include "components/translate/core/browser/translate_event_details.h" | 5 #include "components/translate/core/browser/translate_event_details.h" |
6 | 6 |
| 7 namespace translate { |
| 8 |
7 TranslateEventDetails::TranslateEventDetails(const std::string& in_filename, | 9 TranslateEventDetails::TranslateEventDetails(const std::string& in_filename, |
8 int in_line, | 10 int in_line, |
9 const std::string& in_message) | 11 const std::string& in_message) |
10 : filename(in_filename), | 12 : filename(in_filename), |
11 line(in_line), | 13 line(in_line), |
12 message(in_message) { | 14 message(in_message) { |
13 time = base::Time::Now(); | 15 time = base::Time::Now(); |
14 } | 16 } |
| 17 |
| 18 } // namespace translate |
OLD | NEW |