| Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| index 5a917d88d3f8e6dc534087a051f26899c2a9f089..8ec518020c99f624dc0d2ceb26782b4c0b44d031 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -231,6 +231,8 @@
|
| #include "web/WebPluginContainerImpl.h"
|
| #include "web/WebRemoteFrameImpl.h"
|
| #include "web/WebViewImpl.h"
|
| +#include "web/agent/sample/sample_agent.h"
|
| +#include "web/api/frame.h"
|
| #include "wtf/CurrentTime.h"
|
| #include "wtf/HashMap.h"
|
| #include "wtf/PtrUtil.h"
|
| @@ -1927,6 +1929,13 @@ WebDevToolsAgent* WebLocalFrameImpl::devToolsAgent() {
|
| return m_devToolsAgent.get();
|
| }
|
|
|
| +void WebLocalFrameImpl::startAgents() {
|
| + // TODO(dglazkov): Store all agents for the lifetime of this instance.
|
| + if (!frame())
|
| + return;
|
| + new web::SampleAgent(new web::Frame(frame()));
|
| +}
|
| +
|
| WebLocalFrameImpl* WebLocalFrameImpl::localRoot() {
|
| // This can't use the LocalFrame::localFrameRoot, since it may be called
|
| // when the WebLocalFrame exists but the core LocalFrame does not.
|
|
|