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

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

Issue 722153003: Implement basic mojo Permission service and use it for Geolocation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 6 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
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 <map> 8 #include <map>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
(...skipping 30 matching lines...) Expand all
41 class AudioRendererHost; 41 class AudioRendererHost;
42 class BrowserCdmManager; 42 class BrowserCdmManager;
43 class BrowserDemuxerAndroid; 43 class BrowserDemuxerAndroid;
44 class GpuMessageFilter; 44 class GpuMessageFilter;
45 class MessagePortMessageFilter; 45 class MessagePortMessageFilter;
46 class MojoApplicationHost; 46 class MojoApplicationHost;
47 class NotificationMessageFilter; 47 class NotificationMessageFilter;
48 #if defined(ENABLE_WEBRTC) 48 #if defined(ENABLE_WEBRTC)
49 class P2PSocketDispatcherHost; 49 class P2PSocketDispatcherHost;
50 #endif 50 #endif
51 class PermissionServiceContext;
51 class PeerConnectionTrackerHost; 52 class PeerConnectionTrackerHost;
52 class RendererMainThread; 53 class RendererMainThread;
53 class RenderWidgetHelper; 54 class RenderWidgetHelper;
54 class RenderWidgetHost; 55 class RenderWidgetHost;
55 class RenderWidgetHostImpl; 56 class RenderWidgetHostImpl;
56 class RenderWidgetHostViewFrameSubscriber; 57 class RenderWidgetHostViewFrameSubscriber;
57 class StoragePartition; 58 class StoragePartition;
58 class StoragePartitionImpl; 59 class StoragePartitionImpl;
59 60
60 typedef base::Thread* (*RendererMainThreadFactoryFunction)( 61 typedef base::Thread* (*RendererMainThreadFactoryFunction)(
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 std::vector<int> aec_dump_consumers_; 459 std::vector<int> aec_dump_consumers_;
459 460
460 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_; 461 WebRtcStopRtpDumpCallback stop_rtp_dump_callback_;
461 #endif 462 #endif
462 463
463 int worker_ref_count_; 464 int worker_ref_count_;
464 465
465 // Records the time when the process starts surviving for workers for UMA. 466 // Records the time when the process starts surviving for workers for UMA.
466 base::TimeTicks survive_for_worker_start_time_; 467 base::TimeTicks survive_for_worker_start_time_;
467 468
469 // Context shared for each PermissionService instance created for this RPH.
470 scoped_ptr<PermissionServiceContext> permission_service_context_;
471
468 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; 472 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_;
469 473
470 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); 474 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl);
471 }; 475 };
472 476
473 } // namespace content 477 } // namespace content
474 478
475 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_ 479 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/permissions/permission_service_impl.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698