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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2046293002: Implement DelegationTracker for tracking delegated permissions to RenderFrameHosts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-2-blink
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_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // and still has a connection. This is valid for all frames. 177 // and still has a connection. This is valid for all frames.
178 virtual bool IsRenderFrameLive() = 0; 178 virtual bool IsRenderFrameLive() = 0;
179 179
180 // Get the number of proxies to this frame, in all processes. Exposed for 180 // Get the number of proxies to this frame, in all processes. Exposed for
181 // use by resource metrics. 181 // use by resource metrics.
182 virtual int GetProxyCount() = 0; 182 virtual int GetProxyCount() = 0;
183 183
184 private: 184 private:
185 // This interface should only be implemented inside content. 185 // This interface should only be implemented inside content.
186 friend class RenderFrameHostImpl; 186 friend class RenderFrameHostImpl;
187 friend class MockRenderFrameHost;
187 RenderFrameHost() {} 188 RenderFrameHost() {}
188 }; 189 };
189 190
190 } // namespace content 191 } // namespace content
191 192
192 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 193 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698