| 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 "chrome/browser/media/webrtc_rtp_dump_writer.h" | 5 #include "chrome/browser/media/webrtc/webrtc_rtp_dump_writer.h" |
| 6 | 6 |
| 7 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 #include "base/big_endian.h" | 9 #include "base/big_endian.h" |
| 10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "third_party/zlib/zlib.h" | 14 #include "third_party/zlib/zlib.h" |
| 15 | 15 |
| (...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 base::Bind(&WebRtcRtpDumpWriter::OnDumpEnded, | 444 base::Bind(&WebRtcRtpDumpWriter::OnDumpEnded, |
| 445 weak_ptr_factory_.GetWeakPtr(), | 445 weak_ptr_factory_.GetWeakPtr(), |
| 446 context, | 446 context, |
| 447 false)); | 447 false)); |
| 448 return; | 448 return; |
| 449 } | 449 } |
| 450 | 450 |
| 451 // This object might be deleted after running the callback. | 451 // This object might be deleted after running the callback. |
| 452 context.callback.Run(context.incoming_succeeded, context.outgoing_succeeded); | 452 context.callback.Run(context.incoming_succeeded, context.outgoing_succeeded); |
| 453 } | 453 } |
| OLD | NEW |