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

Side by Side Diff: components/offline_pages/content/background_loader/background_loader_contents_stub.cc

Issue 2534673002: [Offline pages] Create offliner that uses background loader (Closed)
Patch Set: test update Created 4 years 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
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698