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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2050803002: Better way to implement FrameConnectedBluetoothDevicesTest Base URL: https://chromium.googlesource.com/chromium/src.git@patch_ortuno
Patch Set: Created 4 years, 6 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 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
745 const content::RequestNavigationParams& request_params); 745 const content::RequestNavigationParams& request_params);
746 746
747 // Returns the child FrameTreeNode if |child_frame_routing_id| is an 747 // Returns the child FrameTreeNode if |child_frame_routing_id| is an
748 // immediate child of this FrameTreeNode. |child_frame_routing_id| is 748 // immediate child of this FrameTreeNode. |child_frame_routing_id| is
749 // considered untrusted, so the renderer process is killed if it refers to a 749 // considered untrusted, so the renderer process is killed if it refers to a
750 // FrameTreeNode that is not a child of this node. 750 // FrameTreeNode that is not a child of this node.
751 FrameTreeNode* FindAndVerifyChild(int32_t child_frame_routing_id, 751 FrameTreeNode* FindAndVerifyChild(int32_t child_frame_routing_id,
752 bad_message::BadMessageReason reason); 752 bad_message::BadMessageReason reason);
753 753
754 // Creates a Web Bluetooth Service owned by the frame. 754 // Creates a Web Bluetooth Service owned by the frame.
755 void CreateWebBluetoothService( 755 WebBluetoothServiceImpl* CreateWebBluetoothService(
756 mojo::InterfaceRequest<blink::mojom::WebBluetoothService> request); 756 mojo::InterfaceRequest<blink::mojom::WebBluetoothService> request);
757 757
758 // Deletes the Web Bluetooth Service owned by the frame. 758 // Deletes the Web Bluetooth Service owned by the frame.
759 void DeleteWebBluetoothService(); 759 void DeleteWebBluetoothService();
760 760
761 // Allows tests to disable the swapout event timer to simulate bugs that 761 // Allows tests to disable the swapout event timer to simulate bugs that
762 // happen before it fires (to avoid flakiness). 762 // happen before it fires (to avoid flakiness).
763 void DisableSwapOutTimerForTesting(); 763 void DisableSwapOutTimerForTesting();
764 764
765 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a 765 // For now, RenderFrameHosts indirectly keep RenderViewHosts alive via a
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
979 979
980 // NOTE: This must be the last member. 980 // NOTE: This must be the last member.
981 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 981 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
982 982
983 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 983 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
984 }; 984 };
985 985
986 } // namespace content 986 } // namespace content
987 987
988 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 988 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/bluetooth/web_bluetooth_service_impl.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698