OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/offline_pages/content/background_loader/background_loader_c
ontents_stub.h" |
| 6 |
| 7 #include "content/public/test/web_contents_tester.h" |
| 8 |
| 9 namespace background_loader { |
| 10 |
| 11 BackgroundLoaderContentsStub::BackgroundLoaderContentsStub( |
| 12 content::BrowserContext* browser_context) : BackgroundLoaderContents() { |
| 13 BackgroundLoaderContents::web_contents_.reset( |
| 14 content::WebContentsTester::CreateTestWebContents(browser_context, NULL); |
| 15 } |
| 16 |
| 17 BackgroundLoaderContentsStub::~BackgroundLoaderContentsStub() {} |
| 18 |
| 19 void BackgroundLoaderContentsStub::LoadPage(const GURL& url) { |
| 20 // does nothing. |
| 21 } |
| 22 |
| 23 } // namespace background_loader |
OLD | NEW |