| 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/proximity_auth/messenger_impl.h" | 5 #include "components/proximity_auth/messenger_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/base64url.h" | 9 #include "base/base64url.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
| 12 #include "base/json/json_writer.h" | 12 #include "base/json/json_writer.h" |
| 13 #include "base/location.h" | 13 #include "base/location.h" |
| 14 #include "base/memory/ptr_util.h" | 14 #include "base/memory/ptr_util.h" |
| 15 #include "base/thread_task_runner_handle.h" | 15 #include "base/threading/thread_task_runner_handle.h" |
| 16 #include "base/values.h" | 16 #include "base/values.h" |
| 17 #include "components/proximity_auth/connection.h" | 17 #include "components/proximity_auth/connection.h" |
| 18 #include "components/proximity_auth/logging/logging.h" | 18 #include "components/proximity_auth/logging/logging.h" |
| 19 #include "components/proximity_auth/messenger_observer.h" | 19 #include "components/proximity_auth/messenger_observer.h" |
| 20 #include "components/proximity_auth/remote_status_update.h" | 20 #include "components/proximity_auth/remote_status_update.h" |
| 21 #include "components/proximity_auth/secure_context.h" | 21 #include "components/proximity_auth/secure_context.h" |
| 22 #include "components/proximity_auth/wire_message.h" | 22 #include "components/proximity_auth/wire_message.h" |
| 23 | 23 |
| 24 namespace proximity_auth { | 24 namespace proximity_auth { |
| 25 namespace { | 25 namespace { |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 352 } else { | 352 } else { |
| 353 PA_LOG(ERROR) << "Message of unknown type '" << pending_message_->type | 353 PA_LOG(ERROR) << "Message of unknown type '" << pending_message_->type |
| 354 << "' sent."; | 354 << "' sent."; |
| 355 } | 355 } |
| 356 | 356 |
| 357 pending_message_.reset(); | 357 pending_message_.reset(); |
| 358 ProcessMessageQueue(); | 358 ProcessMessageQueue(); |
| 359 } | 359 } |
| 360 | 360 |
| 361 } // namespace proximity_auth | 361 } // namespace proximity_auth |
| OLD | NEW |