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/device_event_log/device_event_log_impl.h" | 5 #include "components/device_event_log/device_event_log_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 #include <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 count(1) { | 392 count(1) { |
393 if (filedesc) { | 393 if (filedesc) { |
394 file = filedesc; | 394 file = filedesc; |
395 size_t last_slash_pos = file.find_last_of("\\/"); | 395 size_t last_slash_pos = file.find_last_of("\\/"); |
396 if (last_slash_pos != std::string::npos) { | 396 if (last_slash_pos != std::string::npos) { |
397 file.erase(0, last_slash_pos + 1); | 397 file.erase(0, last_slash_pos + 1); |
398 } | 398 } |
399 } | 399 } |
400 } | 400 } |
401 | 401 |
| 402 DeviceEventLogImpl::LogEntry::LogEntry(const LogEntry& other) = default; |
| 403 |
402 } // namespace device_event_log | 404 } // namespace device_event_log |
OLD | NEW |