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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.h

Issue 2465813003: Stop using MojoURLLoaderFactoryGetter. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('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 (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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class RenderWidgetHelper; 73 class RenderWidgetHelper;
74 class RenderWidgetHost; 74 class RenderWidgetHost;
75 class RenderWidgetHostImpl; 75 class RenderWidgetHostImpl;
76 class RenderWidgetHostViewFrameSubscriber; 76 class RenderWidgetHostViewFrameSubscriber;
77 class ResourceMessageFilter; 77 class ResourceMessageFilter;
78 class StoragePartition; 78 class StoragePartition;
79 class StoragePartitionImpl; 79 class StoragePartitionImpl;
80 80
81 namespace mojom { 81 namespace mojom {
82 class StoragePartitionService; 82 class StoragePartitionService;
83 class URLLoaderFactory;
84 } // namespace mojom 83 } // namespace mojom
85 84
86 typedef base::Thread* (*RendererMainThreadFactoryFunction)( 85 typedef base::Thread* (*RendererMainThreadFactoryFunction)(
87 const InProcessChildThreadParams& params); 86 const InProcessChildThreadParams& params);
88 87
89 // Implements a concrete RenderProcessHost for the browser process for talking 88 // Implements a concrete RenderProcessHost for the browser process for talking
90 // to actual renderer processes (as opposed to mocks). 89 // to actual renderer processes (as opposed to mocks).
91 // 90 //
92 // Represents the browser side of the browser <--> renderer communication 91 // Represents the browser side of the browser <--> renderer communication
93 // channel. There will be one RenderProcessHost per renderer process. 92 // channel. There will be one RenderProcessHost per renderer process.
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 void CreateSharedRendererHistogramAllocator(); 372 void CreateSharedRendererHistogramAllocator();
374 373
375 // Handle termination of our process. 374 // Handle termination of our process.
376 void ProcessDied(bool already_dead, RendererClosedDetails* known_details); 375 void ProcessDied(bool already_dead, RendererClosedDetails* known_details);
377 376
378 void OnRouteProviderRequest(mojom::RouteProviderAssociatedRequest request); 377 void OnRouteProviderRequest(mojom::RouteProviderAssociatedRequest request);
379 378
380 // GpuSwitchingObserver implementation. 379 // GpuSwitchingObserver implementation.
381 void OnGpuSwitched() override; 380 void OnGpuSwitched() override;
382 381
383 // Creates a mojom::URLLoaderFactory interface by passing
384 // URLLoaderFactoryRequest.
385 void CreateURLLoaderFactory(
386 mojo::InterfaceRequest<mojom::URLLoaderFactory> request);
387
388 #if defined(ENABLE_WEBRTC) 382 #if defined(ENABLE_WEBRTC)
389 void OnRegisterAecDumpConsumer(int id); 383 void OnRegisterAecDumpConsumer(int id);
390 void OnUnregisterAecDumpConsumer(int id); 384 void OnUnregisterAecDumpConsumer(int id);
391 void RegisterAecDumpConsumerOnUIThread(int id); 385 void RegisterAecDumpConsumerOnUIThread(int id);
392 void UnregisterAecDumpConsumerOnUIThread(int id); 386 void UnregisterAecDumpConsumerOnUIThread(int id);
393 void EnableAecDumpForId(const base::FilePath& file, int id); 387 void EnableAecDumpForId(const base::FilePath& file, int id);
394 // Sends |file_for_transit| to the render process. 388 // Sends |file_for_transit| to the render process.
395 void SendAecDumpFileToRenderer(int id, 389 void SendAecDumpFileToRenderer(int id,
396 IPC::PlatformFileForTransit file_for_transit); 390 IPC::PlatformFileForTransit file_for_transit);
397 void SendDisableAecDumpToRenderer(); 391 void SendDisableAecDumpToRenderer();
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
603 instance_weak_factory_; 597 instance_weak_factory_;
604 598
605 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 599 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
606 600
607 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 601 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
608 }; 602 };
609 603
610 } // namespace content 604 } // namespace content
611 605
612 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 606 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698