Chromium Code Reviews| Index: content/public/browser/render_frame_host.h |
| diff --git a/content/public/browser/render_frame_host.h b/content/public/browser/render_frame_host.h |
| index d78ba06e1c48ee5f83b9daa3e470db4e9cc443f1..c67dbef7c1975450a9e461c704fc313754d4fd5b 100644 |
| --- a/content/public/browser/render_frame_host.h |
| +++ b/content/public/browser/render_frame_host.h |
| @@ -8,6 +8,7 @@ |
| #include <string> |
| #include "base/callback_forward.h" |
| +#include "base/supports_user_data.h" |
| #include "build/build_config.h" |
| #include "content/common/content_export.h" |
| #include "content/public/common/console_message_level.h" |
| @@ -46,7 +47,8 @@ using FormFieldDataCallback = base::Callback<void(const FormFieldData&)>; |
| // The interface provides a communication conduit with a frame in the renderer. |
| class CONTENT_EXPORT RenderFrameHost : public IPC::Listener, |
| - public IPC::Sender { |
| + public IPC::Sender, |
| + public base::SupportsUserData { |
|
boliu
2017/02/15 02:12:51
can this be on the impl class?
rwlbuis
2017/02/15 22:08:49
Done.
|
| public: |
| // Returns the RenderFrameHost given its ID and the ID of its render process. |
| // Returns nullptr if the IDs do not correspond to a live RenderFrameHost. |