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

Side by Side Diff: content/browser/mock_content_browser_client.cc

Issue 7800004: Move more files to content_unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/mock_content_browser_client.h" 5 #include "content/browser/mock_content_browser_client.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "content/browser/webui/empty_web_ui_factory.h" 10 #include "content/browser/webui/empty_web_ui_factory.h"
11 #include "content/test/test_tab_contents_view.h"
11 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
12 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
13 #include "ui/base/clipboard/clipboard.h" 14 #include "ui/base/clipboard/clipboard.h"
14 #include "webkit/glue/webpreferences.h" 15 #include "webkit/glue/webpreferences.h"
15 16
16 namespace content { 17 namespace content {
17 18
18 MockContentBrowserClient::~MockContentBrowserClient() { 19 MockContentBrowserClient::~MockContentBrowserClient() {
19 } 20 }
20 21
21 TabContentsView* MockContentBrowserClient::CreateTabContentsView( 22 TabContentsView* MockContentBrowserClient::CreateTabContentsView(
22 TabContents* tab_contents) { 23 TabContents* tab_contents) {
23 return NULL; 24 return new TestTabContentsView;
24 } 25 }
25 26
26 void MockContentBrowserClient::RenderViewHostCreated( 27 void MockContentBrowserClient::RenderViewHostCreated(
27 RenderViewHost* render_view_host) { 28 RenderViewHost* render_view_host) {
28 } 29 }
29 30
30 void MockContentBrowserClient::BrowserRenderProcessHostCreated( 31 void MockContentBrowserClient::BrowserRenderProcessHostCreated(
31 BrowserRenderProcessHost* host) { 32 BrowserRenderProcessHost* host) {
32 } 33 }
33 34
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #endif 271 #endif
271 272
272 #if defined(USE_NSS) 273 #if defined(USE_NSS)
273 crypto::CryptoModuleBlockingPasswordDelegate* 274 crypto::CryptoModuleBlockingPasswordDelegate*
274 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 275 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
275 return NULL; 276 return NULL;
276 } 277 }
277 #endif 278 #endif
278 279
279 } // namespace content 280 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/debugger/devtools_manager_unittest.cc ('k') | content/browser/plugin_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698