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 <unordered_map> | 7 #include <unordered_map> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
| 10 #include "base/memory/ptr_util.h" |
10 #include "blimp/common/blob_cache/id_util.h" | 11 #include "blimp/common/blob_cache/id_util.h" |
11 #include "content/public/renderer/render_thread.h" | 12 #include "content/public/renderer/render_thread.h" |
12 #include "services/service_manager/public/cpp/interface_provider.h" | 13 #include "services/service_manager/public/cpp/interface_provider.h" |
13 | 14 |
14 namespace blimp { | 15 namespace blimp { |
15 namespace engine { | 16 namespace engine { |
16 namespace { | 17 namespace { |
17 | 18 |
18 mojom::BlobChannelPtr GetConnectedBlobChannel() { | 19 mojom::BlobChannelPtr GetConnectedBlobChannel() { |
19 mojom::BlobChannelPtr blob_channel_ptr; | 20 mojom::BlobChannelPtr blob_channel_ptr; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 VLOG(1) << "Received cache state from browser (" << cache_state.size() | 127 VLOG(1) << "Received cache state from browser (" << cache_state.size() |
127 << " items)"; | 128 << " items)"; |
128 replication_state_.clear(); | 129 replication_state_.clear(); |
129 for (const auto& next_item : cache_state) { | 130 for (const auto& next_item : cache_state) { |
130 replication_state_[next_item.first] = next_item.second; | 131 replication_state_[next_item.first] = next_item.second; |
131 } | 132 } |
132 } | 133 } |
133 | 134 |
134 } // namespace engine | 135 } // namespace engine |
135 } // namespace blimp | 136 } // namespace blimp |
OLD | NEW |