Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(662)

Side by Side Diff: components/device_event_log/device_event_log_impl.cc

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698