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

Side by Side Diff: components/offline_pages/core/background/offliner_factory_stub.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_FACTORY_STUB_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_FACTORY_STUB_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_FACTORY_STUB_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_FACTORY_STUB_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "components/offline_pages/background/offliner_factory.h" 10 #include "components/offline_pages/core/background/offliner_factory.h"
11 11
12 namespace offline_pages { 12 namespace offline_pages {
13 13
14 class OfflinerStub; 14 class OfflinerStub;
15 15
16 // Test class stubbing out the functionality of OfflinerFactory. 16 // Test class stubbing out the functionality of OfflinerFactory.
17 // It is only used for test support. 17 // It is only used for test support.
18 class OfflinerFactoryStub : public OfflinerFactory { 18 class OfflinerFactoryStub : public OfflinerFactory {
19 public: 19 public:
20 OfflinerFactoryStub(); 20 OfflinerFactoryStub();
21 ~OfflinerFactoryStub() override; 21 ~OfflinerFactoryStub() override;
22 22
23 Offliner* GetOffliner(const OfflinerPolicy* policy) override; 23 Offliner* GetOffliner(const OfflinerPolicy* policy) override;
24 24
25 private: 25 private:
26 std::unique_ptr<OfflinerStub> offliner_; 26 std::unique_ptr<OfflinerStub> offliner_;
27 }; 27 };
28 28
29 } // namespace offline_pages 29 } // namespace offline_pages
30 30
31 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_FACTORY_STUB_H_ 31 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_FACTORY_STUB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698