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

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

Issue 2856653004: Require a process ID when looking up RFHs by FrameTreeNode ID. (Closed)
Patch Set: Simplify ExtNavThrottle Created 3 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_NAVIGATION_HANDLE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
7 7
8 #include "content/public/browser/navigation_handle.h" 8 #include "content/public/browser/navigation_handle.h"
9 9
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 113
114 // NavigationHandle implementation: 114 // NavigationHandle implementation:
115 const GURL& GetURL() override; 115 const GURL& GetURL() override;
116 SiteInstance* GetStartingSiteInstance() override; 116 SiteInstance* GetStartingSiteInstance() override;
117 bool IsInMainFrame() override; 117 bool IsInMainFrame() override;
118 bool IsParentMainFrame() override; 118 bool IsParentMainFrame() override;
119 bool IsRendererInitiated() override; 119 bool IsRendererInitiated() override;
120 bool WasServerRedirect() override; 120 bool WasServerRedirect() override;
121 const std::vector<GURL>& GetRedirectChain() override; 121 const std::vector<GURL>& GetRedirectChain() override;
122 int GetFrameTreeNodeId() override; 122 int GetFrameTreeNodeId() override;
123 int GetParentFrameTreeNodeId() override; 123 RenderFrameHostImpl* GetParentFrame() override;
124 const base::TimeTicks& NavigationStart() override; 124 const base::TimeTicks& NavigationStart() override;
125 bool IsPost() override; 125 bool IsPost() override;
126 const Referrer& GetReferrer() override; 126 const Referrer& GetReferrer() override;
127 bool HasUserGesture() override; 127 bool HasUserGesture() override;
128 ui::PageTransition GetPageTransition() override; 128 ui::PageTransition GetPageTransition() override;
129 bool IsExternalProtocol() override; 129 bool IsExternalProtocol() override;
130 net::Error GetNetErrorCode() override; 130 net::Error GetNetErrorCode() override;
131 RenderFrameHostImpl* GetRenderFrameHost() override; 131 RenderFrameHostImpl* GetRenderFrameHost() override;
132 bool IsSameDocument() override; 132 bool IsSameDocument() override;
133 bool HasCommitted() override; 133 bool HasCommitted() override;
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 SourceLocation source_location_; 562 SourceLocation source_location_;
563 563
564 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_; 564 base::WeakPtrFactory<NavigationHandleImpl> weak_factory_;
565 565
566 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl); 566 DISALLOW_COPY_AND_ASSIGN(NavigationHandleImpl);
567 }; 567 };
568 568
569 } // namespace content 569 } // namespace content
570 570
571 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_ 571 #endif // CONTENT_BROWSER_FRAME_HOST_NAVIGATION_HANDLE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698