Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: blimp/engine/renderer/blob_channel_sender_proxy.cc

Issue 2419723002: Move services/shell to services/service_manager (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.cc ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "blimp/common/blob_cache/id_util.h" 10 #include "blimp/common/blob_cache/id_util.h"
11 #include "content/public/renderer/render_thread.h" 11 #include "content/public/renderer/render_thread.h"
12 #include "services/shell/public/cpp/interface_provider.h" 12 #include "services/service_manager/public/cpp/interface_provider.h"
13 13
14 namespace blimp { 14 namespace blimp {
15 namespace engine { 15 namespace engine {
16 namespace { 16 namespace {
17 17
18 mojom::BlobChannelPtr GetConnectedBlobChannel() { 18 mojom::BlobChannelPtr GetConnectedBlobChannel() {
19 mojom::BlobChannelPtr blob_channel_ptr; 19 mojom::BlobChannelPtr blob_channel_ptr;
20 content::RenderThread::Get()->GetRemoteInterfaces()->GetInterface( 20 content::RenderThread::Get()->GetRemoteInterfaces()->GetInterface(
21 &blob_channel_ptr); 21 &blob_channel_ptr);
22 CHECK(blob_channel_ptr) << "Could not connect to BlobChannel Mojo interface."; 22 CHECK(blob_channel_ptr) << "Could not connect to BlobChannel Mojo interface.";
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 VLOG(1) << "Received cache state from browser (" << cache_state.size() 126 VLOG(1) << "Received cache state from browser (" << cache_state.size()
127 << " items)"; 127 << " items)";
128 replication_state_.clear(); 128 replication_state_.clear();
129 for (const auto& next_item : cache_state) { 129 for (const auto& next_item : cache_state) {
130 replication_state_[next_item.first] = next_item.second; 130 replication_state_[next_item.first] = next_item.second;
131 } 131 }
132 } 132 }
133 133
134 } // namespace engine 134 } // namespace engine
135 } // namespace blimp 135 } // namespace blimp
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_content_browser_client.cc ('k') | chrome/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698