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

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

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Address feedback from yusuf 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 return GetContentClient()->renderer()->VisitedLinkHash(canonical_url, length); 373 return GetContentClient()->renderer()->VisitedLinkHash(canonical_url, length);
374 } 374 }
375 375
376 bool RendererBlinkPlatformImpl::isLinkVisited(unsigned long long link_hash) { 376 bool RendererBlinkPlatformImpl::isLinkVisited(unsigned long long link_hash) {
377 return GetContentClient()->renderer()->IsLinkVisited(link_hash); 377 return GetContentClient()->renderer()->IsLinkVisited(link_hash);
378 } 378 }
379 379
380 void RendererBlinkPlatformImpl::createMessageChannel( 380 void RendererBlinkPlatformImpl::createMessageChannel(
381 blink::WebMessagePortChannel** channel1, 381 blink::WebMessagePortChannel** channel1,
382 blink::WebMessagePortChannel** channel2) { 382 blink::WebMessagePortChannel** channel2) {
383 WebMessagePortChannelImpl::CreatePair( 383 WebMessagePortChannelImpl::CreatePair(channel1, channel2);
384 default_task_runner_, channel1, channel2);
385 } 384 }
386 385
387 blink::WebPrescientNetworking* 386 blink::WebPrescientNetworking*
388 RendererBlinkPlatformImpl::prescientNetworking() { 387 RendererBlinkPlatformImpl::prescientNetworking() {
389 return GetContentClient()->renderer()->GetPrescientNetworking(); 388 return GetContentClient()->renderer()->GetPrescientNetworking();
390 } 389 }
391 390
392 void RendererBlinkPlatformImpl::cacheMetadata(const blink::WebURL& url, 391 void RendererBlinkPlatformImpl::cacheMetadata(const blink::WebURL& url,
393 int64_t response_time, 392 int64_t response_time,
394 const char* data, 393 const char* data,
(...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 return &trial_token_validator_; 1287 return &trial_token_validator_;
1289 } 1288 }
1290 1289
1291 void RendererBlinkPlatformImpl::workerContextCreated( 1290 void RendererBlinkPlatformImpl::workerContextCreated(
1292 const v8::Local<v8::Context>& worker) { 1291 const v8::Local<v8::Context>& worker) {
1293 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( 1292 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread(
1294 worker); 1293 worker);
1295 } 1294 }
1296 1295
1297 } // namespace content 1296 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698