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 CHROME_BROWSER_ANDROID_OFFLINE_PAGES_RECENT_TAB_HELPER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_RECENT_TAB_HELPER_H_ |
6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_RECENT_TAB_HELPER_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_RECENT_TAB_HELPER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/offline_pages/downloads/download_ui_item.h" | 12 #include "components/offline_pages/core/downloads/download_ui_item.h" |
13 #include "components/offline_pages/offline_page_model.h" | 13 #include "components/offline_pages/core/offline_page_model.h" |
14 #include "components/offline_pages/snapshot_controller.h" | 14 #include "components/offline_pages/core/snapshot_controller.h" |
15 #include "content/public/browser/web_contents_observer.h" | 15 #include "content/public/browser/web_contents_observer.h" |
16 #include "content/public/browser/web_contents_user_data.h" | 16 #include "content/public/browser/web_contents_user_data.h" |
17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
18 | 18 |
19 namespace content { | 19 namespace content { |
20 class NavigationHandle; | 20 class NavigationHandle; |
21 } | 21 } |
22 | 22 |
23 namespace offline_pages { | 23 namespace offline_pages { |
24 | 24 |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 136 |
137 std::unique_ptr<Delegate> delegate_; | 137 std::unique_ptr<Delegate> delegate_; |
138 | 138 |
139 base::WeakPtrFactory<RecentTabHelper> weak_ptr_factory_; | 139 base::WeakPtrFactory<RecentTabHelper> weak_ptr_factory_; |
140 | 140 |
141 DISALLOW_COPY_AND_ASSIGN(RecentTabHelper); | 141 DISALLOW_COPY_AND_ASSIGN(RecentTabHelper); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace offline_pages | 144 } // namespace offline_pages |
145 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_RECENT_TAB_HELPER_H_ | 145 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_RECENT_TAB_HELPER_H_ |
OLD | NEW |