OLD | NEW |
1 // Copyright 2017 The Chromium OS Authors. All rights reserved. | 1 // Copyright 2017 The Chromium OS 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 "compressor.h" | 5 #include "compressor.h" |
6 | 6 |
7 #include <cstring> | 7 #include <cstring> |
8 #include <ctime> | 8 #include <ctime> |
9 #include <sstream> | 9 #include <sstream> |
10 | 10 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 } else { | 131 } else { |
132 worker_.message_loop().PostWork(callback_factory_.NewCallback( | 132 worker_.message_loop().PostWork(callback_factory_.NewCallback( |
133 &Compressor::CloseArchiveCallback, has_error)); | 133 &Compressor::CloseArchiveCallback, has_error)); |
134 } | 134 } |
135 } | 135 } |
136 | 136 |
137 void Compressor::CloseArchiveCallback(int32_t, bool has_error) { | 137 void Compressor::CloseArchiveCallback(int32_t, bool has_error) { |
138 compressor_archive_->CloseArchive(has_error); | 138 compressor_archive_->CloseArchive(has_error); |
139 message_sender_->SendCloseArchiveDone(compressor_id_); | 139 message_sender_->SendCloseArchiveDone(compressor_id_); |
140 } | 140 } |
OLD | NEW |