OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_CONTENT_SUGGESTED_ARTICLES_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_OFFLINE_PAGES_PREFETCH_SUGGESTED_ARTICLES_OBSERVER_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_CONTENT_SUGGESTED_ARTICLES_OBSERVER_H_ | 6 #define CHROME_BROWSER_OFFLINE_PAGES_PREFETCH_SUGGESTED_ARTICLES_OBSERVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/ntp_snippets/content_suggestions_service.h" | 12 #include "components/ntp_snippets/content_suggestions_service.h" |
13 #include "components/offline_pages/core/prefetch/prefetch_service.h" | 13 #include "components/offline_pages/core/prefetch/prefetch_service.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class BrowserContext; | 16 class BrowserContext; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 content::BrowserContext* browser_context_; | 70 content::BrowserContext* browser_context_; |
71 ntp_snippets::CategoryStatus category_status_ = | 71 ntp_snippets::CategoryStatus category_status_ = |
72 ntp_snippets::CategoryStatus::INITIALIZING; | 72 ntp_snippets::CategoryStatus::INITIALIZING; |
73 std::unique_ptr<Delegate> delegate_; | 73 std::unique_ptr<Delegate> delegate_; |
74 | 74 |
75 DISALLOW_COPY_AND_ASSIGN(SuggestedArticlesObserver); | 75 DISALLOW_COPY_AND_ASSIGN(SuggestedArticlesObserver); |
76 }; | 76 }; |
77 | 77 |
78 } // namespace offline_pages | 78 } // namespace offline_pages |
79 | 79 |
80 #endif // COMPONENTS_OFFLINE_PAGES_CONTENT_SUGGESTED_ARTICLES_OBSERVER_H_ | 80 #endif // CHROME_BROWSER_OFFLINE_PAGES_PREFETCH_SUGGESTED_ARTICLES_OBSERVER_H_ |
OLD | NEW |