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

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

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 #ifndef COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON TENTS_STUB_H_
6 #define COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_CON TENTS_STUB_H_
7
8 #include "components/offline_pages/content/background_loader/background_loader_c ontents.h"
9
10 namespace background_loader {
11
12 // Stub BackgroundLoaderContents for testing use.
13 class BackgroundLoaderContentsStub : public BackgroundLoaderContents {
14 public:
15 BackgroundLoaderContentsStub();
16 ~BackgroundLoaderContentsStub() override;
17
18 void LoadPage(const GURL& url) override;
19
20 private:
21 DISALLOW_COPY_AND_ASSIGN(BackgroundLoaderContentsStub);
22 };
23
24 } // namespace background_loader
25 #endif // COMPONENTS_OFFLINE_PAGES_CONTENT_BACKGROUND_LOADER_BACKGROUND_LOADER_C ONTENTS_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698