| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "blimp/engine/renderer/blob_channel_sender_proxy.h" | 5 #include "blimp/engine/renderer/blob_channel_sender_proxy.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/memory/ptr_util.h" |
| 9 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
| 10 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 11 #include "blimp/common/blob_cache/id_util.h" | 12 #include "blimp/common/blob_cache/id_util.h" |
| 12 #include "blimp/common/blob_cache/test_util.h" | 13 #include "blimp/common/blob_cache/test_util.h" |
| 13 #include "blimp/engine/mojo/blob_channel.mojom.h" | 14 #include "blimp/engine/mojo/blob_channel.mojom.h" |
| 14 #include "blimp/engine/mojo/blob_channel_service.h" | 15 #include "blimp/engine/mojo/blob_channel_service.h" |
| 15 #include "blimp/net/blob_channel/mock_blob_channel_sender.h" | 16 #include "blimp/net/blob_channel/mock_blob_channel_sender.h" |
| 16 #include "blimp/net/test_common.h" | 17 #include "blimp/net/test_common.h" |
| 17 #include "mojo/public/cpp/bindings/interface_request.h" | 18 #include "mojo/public/cpp/bindings/interface_request.h" |
| 18 #include "testing/gmock/include/gmock/gmock.h" | 19 #include "testing/gmock/include/gmock/gmock.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 81 |
| 81 blob_channel_sender_proxy_->DeliverBlob(blob_id_); | 82 blob_channel_sender_proxy_->DeliverBlob(blob_id_); |
| 82 DeliverMessages(); | 83 DeliverMessages(); |
| 83 EXPECT_TRUE(blob_channel_sender_proxy_->IsInEngineCache(blob_id_)); | 84 EXPECT_TRUE(blob_channel_sender_proxy_->IsInEngineCache(blob_id_)); |
| 84 EXPECT_TRUE(blob_channel_sender_proxy_->IsInClientCache(blob_id_)); | 85 EXPECT_TRUE(blob_channel_sender_proxy_->IsInClientCache(blob_id_)); |
| 85 } | 86 } |
| 86 | 87 |
| 87 } // namespace | 88 } // namespace |
| 88 } // namespace engine | 89 } // namespace engine |
| 89 } // namespace blimp | 90 } // namespace blimp |
| OLD | NEW |