Index: content/browser/debugger/devtools_manager_unittest.cc |
diff --git a/content/browser/debugger/devtools_manager_unittest.cc b/content/browser/debugger/devtools_manager_unittest.cc |
index 1d8b4992f912dcb1ad2f031c991daa6887f026a2..5f28d3a162c07c2a9e480859fffe2028c526707f 100644 |
--- a/content/browser/debugger/devtools_manager_unittest.cc |
+++ b/content/browser/debugger/devtools_manager_unittest.cc |
@@ -44,18 +44,15 @@ class TestDevToolsClientHost : public DevToolsClientHost { |
manager->ClientHostClosing(this); |
closed_ = true; |
} |
- virtual void InspectedTabClosing() { |
+ virtual void InspectedContentsClosing() { |
FAIL(); |
} |
- virtual void SetInspectedTabUrl(const std::string& url) { |
- } |
- |
virtual void DispatchOnInspectorFrontend(const std::string& message) { |
last_sent_message = &message; |
} |
- virtual void TabReplaced(WebContents* new_tab) { |
+ virtual void ContentsReplaced(WebContents* new_contents) { |
} |
static void ResetCounters() { |
@@ -81,7 +78,7 @@ class TestWebContentsDelegate : public content::WebContentsDelegate { |
public: |
TestWebContentsDelegate() : renderer_unresponsive_received_(false) {} |
- // Notification that the tab is hung. |
+ // Notification that the contents is hung. |
virtual void RendererUnresponsive(WebContents* source) { |
renderer_unresponsive_received_ = true; |
} |
@@ -180,7 +177,7 @@ TEST_F(DevToolsManagerTest, ForwardMessageToClient) { |
EXPECT_EQ(1, TestDevToolsClientHost::close_counter); |
} |
-TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedTab) { |
+TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedContents) { |
content::TestRenderViewHost* inspected_rvh = test_rvh(); |
inspected_rvh->set_render_view_created(true); |
EXPECT_FALSE(contents()->GetDelegate()); |