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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 return GetContentClient()->renderer()->VisitedLinkHash(canonical_url, length); 377 return GetContentClient()->renderer()->VisitedLinkHash(canonical_url, length);
378 } 378 }
379 379
380 bool RendererBlinkPlatformImpl::isLinkVisited(unsigned long long link_hash) { 380 bool RendererBlinkPlatformImpl::isLinkVisited(unsigned long long link_hash) {
381 return GetContentClient()->renderer()->IsLinkVisited(link_hash); 381 return GetContentClient()->renderer()->IsLinkVisited(link_hash);
382 } 382 }
383 383
384 void RendererBlinkPlatformImpl::createMessageChannel( 384 void RendererBlinkPlatformImpl::createMessageChannel(
385 blink::WebMessagePortChannel** channel1, 385 blink::WebMessagePortChannel** channel1,
386 blink::WebMessagePortChannel** channel2) { 386 blink::WebMessagePortChannel** channel2) {
387 WebMessagePortChannelImpl::CreatePair( 387 WebMessagePortChannelImpl::CreatePair(channel1, channel2);
388 default_task_runner_, channel1, channel2);
389 } 388 }
390 389
391 blink::WebPrescientNetworking* 390 blink::WebPrescientNetworking*
392 RendererBlinkPlatformImpl::prescientNetworking() { 391 RendererBlinkPlatformImpl::prescientNetworking() {
393 return GetContentClient()->renderer()->GetPrescientNetworking(); 392 return GetContentClient()->renderer()->GetPrescientNetworking();
394 } 393 }
395 394
396 void RendererBlinkPlatformImpl::cacheMetadata(const blink::WebURL& url, 395 void RendererBlinkPlatformImpl::cacheMetadata(const blink::WebURL& url,
397 int64_t response_time, 396 int64_t response_time,
398 const char* data, 397 const char* data,
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
1291 worker); 1290 worker);
1292 } 1291 }
1293 1292
1294 //------------------------------------------------------------------------------ 1293 //------------------------------------------------------------------------------
1295 void RendererBlinkPlatformImpl::requestPurgeMemory() { 1294 void RendererBlinkPlatformImpl::requestPurgeMemory() {
1296 DCHECK(memory_coordinator_); 1295 DCHECK(memory_coordinator_);
1297 memory_coordinator_->PurgeMemory(); 1296 memory_coordinator_->PurgeMemory();
1298 } 1297 }
1299 1298
1300 } // namespace content 1299 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | content/renderer/service_worker/service_worker_context_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698