| 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 f23032813ecfc83b9df814bff317a5c8fe1b9308..2a8f96fdacb2cc2cf158f8969a91eb2a63a3ed0a 100644
|
| --- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
| @@ -227,6 +227,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"
|
| @@ -1906,6 +1908,11 @@ WebDevToolsAgent* WebLocalFrameImpl::devToolsAgent() {
|
| return m_devToolsAgent.get();
|
| }
|
|
|
| +void WebLocalFrameImpl::startAgents() {
|
| + // TODO(dglazkov): Store all agents for the lifetime of this instance.
|
| + new web::agent::SampleAgent(new web::api::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.
|
|
|