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

Side by Side Diff: content/browser/frame_host/render_frame_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
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class FilePath; 46 class FilePath;
47 class ListValue; 47 class ListValue;
48 } 48 }
49 49
50 namespace content { 50 namespace content {
51 51
52 class CrossProcessFrameConnector; 52 class CrossProcessFrameConnector;
53 class CrossSiteTransferringRequest; 53 class CrossSiteTransferringRequest;
54 class FrameTree; 54 class FrameTree;
55 class FrameTreeNode; 55 class FrameTreeNode;
56 class PermissionServiceContext;
56 class RenderFrameHostDelegate; 57 class RenderFrameHostDelegate;
57 class RenderFrameProxyHost; 58 class RenderFrameProxyHost;
58 class RenderProcessHost; 59 class RenderProcessHost;
59 class RenderViewHostImpl; 60 class RenderViewHostImpl;
60 class RenderWidgetHostImpl; 61 class RenderWidgetHostImpl;
61 class StreamHandle; 62 class StreamHandle;
62 class TimeoutMonitor; 63 class TimeoutMonitor;
63 struct CommitNavigationParams; 64 struct CommitNavigationParams;
64 struct CommonNavigationParams; 65 struct CommonNavigationParams;
65 struct ContextMenuParams; 66 struct ContextMenuParams;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 // The most recently received accessibility tree - for testing only. 599 // The most recently received accessibility tree - for testing only.
599 scoped_ptr<ui::AXTree> ax_tree_for_testing_; 600 scoped_ptr<ui::AXTree> ax_tree_for_testing_;
600 // Flag to not create a BrowserAccessibilityManager, for testing. If one 601 // Flag to not create a BrowserAccessibilityManager, for testing. If one
601 // already exists it will still be used. 602 // already exists it will still be used.
602 bool no_create_browser_accessibility_manager_for_testing_; 603 bool no_create_browser_accessibility_manager_for_testing_;
603 604
604 // PlzNavigate: Owns the stream used in navigations to store the body of the 605 // PlzNavigate: Owns the stream used in navigations to store the body of the
605 // response once it has started. 606 // response once it has started.
606 scoped_ptr<StreamHandle> stream_handle_; 607 scoped_ptr<StreamHandle> stream_handle_;
607 608
609 // Context shared for each PermissionService instance created for this RFH.
610 scoped_ptr<PermissionServiceContext> permission_service_context_;
611
608 // NOTE: This must be the last member. 612 // NOTE: This must be the last member.
609 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 613 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
610 614
611 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 615 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
612 }; 616 };
613 617
614 } // namespace content 618 } // namespace content
615 619
616 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 620 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698