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

Unified Diff: content/test/test_content_browser_client.cc

Issue 10479023: Simplify how Content*Client interfaces are created. Instead of depending on the embedder to know wh… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove unused function declaration Created 8 years, 6 months 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
Index: content/test/test_content_browser_client.cc
===================================================================
--- content/test/test_content_browser_client.cc (revision 140381)
+++ content/test/test_content_browser_client.cc (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/browser/mock_content_browser_client.h"
+#include "content/test/test_content_browser_client.h"
#include <string>
@@ -15,13 +15,13 @@
namespace content {
-MockContentBrowserClient::MockContentBrowserClient() {
+TestContentBrowserClient::TestContentBrowserClient() {
}
-MockContentBrowserClient::~MockContentBrowserClient() {
+TestContentBrowserClient::~TestContentBrowserClient() {
}
-WebContentsView* MockContentBrowserClient::OverrideCreateWebContentsView(
+WebContentsView* TestContentBrowserClient::OverrideCreateWebContentsView(
WebContents* web_contents,
RenderViewHostDelegateView** render_view_host_delegate_view) {
TestWebContentsView* rv = new TestWebContentsView;
@@ -29,7 +29,7 @@
return rv;
}
-FilePath MockContentBrowserClient::GetDefaultDownloadDirectory() {
+FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() {
if (!download_dir_.IsValid()) {
bool result = download_dir_.CreateUniqueTempDir();
CHECK(result);

Powered by Google App Engine
This is Rietveld 408576698