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

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

Issue 8515027: Define the public version of the browser side RenderProcessHost interface. This interface is not ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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/logging.h" 9 #include "base/logging.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 24 matching lines...) Expand all
35 35
36 TabContentsView* MockContentBrowserClient::CreateTabContentsView( 36 TabContentsView* MockContentBrowserClient::CreateTabContentsView(
37 TabContents* tab_contents) { 37 TabContents* tab_contents) {
38 return new TestTabContentsView; 38 return new TestTabContentsView;
39 } 39 }
40 40
41 void MockContentBrowserClient::RenderViewHostCreated( 41 void MockContentBrowserClient::RenderViewHostCreated(
42 RenderViewHost* render_view_host) { 42 RenderViewHost* render_view_host) {
43 } 43 }
44 44
45 void MockContentBrowserClient::BrowserRenderProcessHostCreated( 45 void MockContentBrowserClient::RenderProcessHostCreated(
46 BrowserRenderProcessHost* host) { 46 RenderProcessHost* host) {
47 } 47 }
48 48
49 void MockContentBrowserClient::PluginProcessHostCreated( 49 void MockContentBrowserClient::PluginProcessHostCreated(
50 PluginProcessHost* host) { 50 PluginProcessHost* host) {
51 } 51 }
52 52
53 WebUIFactory* MockContentBrowserClient::GetWebUIFactory() { 53 WebUIFactory* MockContentBrowserClient::GetWebUIFactory() {
54 // Return an empty factory so callsites don't have to check for NULL. 54 // Return an empty factory so callsites don't have to check for NULL.
55 return EmptyWebUIFactory::GetInstance(); 55 return EmptyWebUIFactory::GetInstance();
56 } 56 }
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 #endif 317 #endif
318 318
319 #if defined(USE_NSS) 319 #if defined(USE_NSS)
320 crypto::CryptoModuleBlockingPasswordDelegate* 320 crypto::CryptoModuleBlockingPasswordDelegate*
321 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 321 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
322 return NULL; 322 return NULL;
323 } 323 }
324 #endif 324 #endif
325 325
326 } // namespace content 326 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/net/browser_online_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698