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

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

Issue 2296483002: Fix some unit_tests under PlzNavigate (Closed)
Patch Set: not in public interface Created 4 years, 3 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_MANAGER_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 // Sets up the necessary state for a new RenderViewHost. If |proxy| is not 517 // Sets up the necessary state for a new RenderViewHost. If |proxy| is not
518 // null, it creates a RenderFrameProxy in the target renderer process which is 518 // null, it creates a RenderFrameProxy in the target renderer process which is
519 // used to route IPC messages when in swapped out state. Returns early if the 519 // used to route IPC messages when in swapped out state. Returns early if the
520 // RenderViewHost has already been initialized for another RenderFrameHost. 520 // RenderViewHost has already been initialized for another RenderFrameHost.
521 bool InitRenderView(RenderViewHostImpl* render_view_host, 521 bool InitRenderView(RenderViewHostImpl* render_view_host,
522 RenderFrameProxyHost* proxy); 522 RenderFrameProxyHost* proxy);
523 523
524 private: 524 private:
525 friend class NavigatorTestWithBrowserSideNavigation; 525 friend class NavigatorTestWithBrowserSideNavigation;
526 friend class RenderFrameHostManagerTest; 526 friend class RenderFrameHostManagerTest;
527 friend class RenderFrameHostTester;
527 friend class TestWebContents; 528 friend class TestWebContents;
528 529
529 enum class SiteInstanceRelation { 530 enum class SiteInstanceRelation {
530 // A SiteInstance in a different browsing instance from the current. 531 // A SiteInstance in a different browsing instance from the current.
531 UNRELATED, 532 UNRELATED,
532 // A SiteInstance in the same browsing instance as the current. 533 // A SiteInstance in the same browsing instance as the current.
533 RELATED, 534 RELATED,
534 // The default subframe SiteInstance for the current browsing instance. 535 // The default subframe SiteInstance for the current browsing instance.
535 RELATED_DEFAULT_SUBFRAME, 536 RELATED_DEFAULT_SUBFRAME,
536 }; 537 };
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_; 814 std::unique_ptr<RenderFrameHostImpl> speculative_render_frame_host_;
814 815
815 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_; 816 base::WeakPtrFactory<RenderFrameHostManager> weak_factory_;
816 817
817 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager); 818 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostManager);
818 }; 819 };
819 820
820 } // namespace content 821 } // namespace content
821 822
822 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_ 823 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698