OLD | NEW |
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_STUB_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_STUB_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_STUB_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_STUB_H_ |
7 | 7 |
8 #include "components/offline_pages/background/offliner.h" | 8 #include "components/offline_pages/core/background/offliner.h" |
9 | 9 |
10 namespace offline_pages { | 10 namespace offline_pages { |
11 | 11 |
12 // Test class stubbing out the functionality of Offliner. | 12 // Test class stubbing out the functionality of Offliner. |
13 // It is only used for test support. | 13 // It is only used for test support. |
14 class OfflinerStub : public Offliner { | 14 class OfflinerStub : public Offliner { |
15 public: | 15 public: |
16 OfflinerStub(); | 16 OfflinerStub(); |
17 ~OfflinerStub() override; | 17 ~OfflinerStub() override; |
18 | 18 |
(...skipping 10 matching lines...) Expand all Loading... |
29 | 29 |
30 private: | 30 private: |
31 CompletionCallback callback_; | 31 CompletionCallback callback_; |
32 bool disable_loading_; | 32 bool disable_loading_; |
33 bool enable_callback_; | 33 bool enable_callback_; |
34 bool cancel_called_; | 34 bool cancel_called_; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace offline_pages | 37 } // namespace offline_pages |
38 | 38 |
39 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_STUB_H_ | 39 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_STUB_H_ |
OLD | NEW |