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

Unified Diff: chrome/browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/test_chrome_web_ui_factory.h ('k') | chrome/browser/ui/webui/tracing_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc
===================================================================
--- chrome/browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc (revision 116011)
+++ chrome/browser/ui/webui/test_chrome_web_ui_factory_browsertest.cc (working copy)
@@ -10,6 +10,7 @@
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::WebContents;
using ::testing::_;
using ::testing::Eq;
using ::testing::StrictMock;
@@ -25,7 +26,7 @@
// expected.
class MockWebUIProvider : public TestChromeWebUIFactory::WebUIProvider {
public:
- MOCK_METHOD2(NewWebUI, WebUI*(TabContents* tab_contents, const GURL& url));
+ MOCK_METHOD2(NewWebUI, WebUI*(WebContents* tab_contents, const GURL& url));
};
// Dummy URL location for us to override.
« no previous file with comments | « chrome/browser/ui/webui/test_chrome_web_ui_factory.h ('k') | chrome/browser/ui/webui/tracing_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698