summaryrefslogtreecommitdiffstats
path: root/content/test/test_render_view_host_factory.cc
diff options
context:
space:
mode:
authorcaseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 12:04:16 +0000
committercaseq@google.com <caseq@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-02 12:04:16 +0000
commit5defceece89b1953c722c479b8b0505045e01733 (patch)
tree7dd4144cced43dc34fc3c30af459c5fe60f89a0a /content/test/test_render_view_host_factory.cc
parented7bbb53170c3d54dfbd393c79fae6539fbab358 (diff)
downloadchromium_src-5defceece89b1953c722c479b8b0505045e01733.zip
chromium_src-5defceece89b1953c722c479b8b0505045e01733.tar.gz
chromium_src-5defceece89b1953c722c479b8b0505045e01733.tar.bz2
Revert r134889, "Re-implement the screensaver to use WebView instead of ExtensionDialogHost."
The original change broke Win Aura and 3 Linux CrOs builders. TBR=rkc@chromium.org,finnur@chromium.org BUG=chromium-os:28211 TEST=tree goes green Review URL: https://chromiumcodereview.appspot.com/10314008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/test_render_view_host_factory.cc')
-rw-r--r--content/test/test_render_view_host_factory.cc39
1 files changed, 0 insertions, 39 deletions
diff --git a/content/test/test_render_view_host_factory.cc b/content/test/test_render_view_host_factory.cc
deleted file mode 100644
index 429922c..0000000
--- a/content/test/test_render_view_host_factory.cc
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/test/test_render_view_host_factory.h"
-
-#include "content/browser/renderer_host/test_render_view_host.h"
-#include "content/browser/site_instance_impl.h"
-#include "content/public/browser/render_process_host_factory.h"
-
-namespace content {
-
-TestRenderViewHostFactory::TestRenderViewHostFactory(
- content::RenderProcessHostFactory* rph_factory)
- : render_process_host_factory_(rph_factory) {
- RenderViewHostFactory::RegisterFactory(this);
-}
-
-TestRenderViewHostFactory::~TestRenderViewHostFactory() {
- RenderViewHostFactory::UnregisterFactory();
-}
-
-void TestRenderViewHostFactory::set_render_process_host_factory(
- content::RenderProcessHostFactory* rph_factory) {
- render_process_host_factory_ = rph_factory;
-}
-
-content::RenderViewHost* TestRenderViewHostFactory::CreateRenderViewHost(
- SiteInstance* instance,
- RenderViewHostDelegate* delegate,
- int routing_id,
- SessionStorageNamespace* session_storage) {
- // See declaration of render_process_host_factory_ below.
- static_cast<SiteInstanceImpl*>(instance)->
- set_render_process_host_factory(render_process_host_factory_);
- return new TestRenderViewHost(instance, delegate, routing_id);
-}
-
-} // namespace content