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

Side by Side Diff: chrome/browser/ntp_snippets/download_suggestions_provider.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 CHROME_BROWSER_NTP_SNIPPETS_DOWNLOAD_SUGGESTIONS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_NTP_SNIPPETS_DOWNLOAD_SUGGESTIONS_PROVIDER_H_
6 #define CHROME_BROWSER_NTP_SNIPPETS_DOWNLOAD_SUGGESTIONS_PROVIDER_H_ 6 #define CHROME_BROWSER_NTP_SNIPPETS_DOWNLOAD_SUGGESTIONS_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback_forward.h" 12 #include "base/callback_forward.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "components/ntp_snippets/callbacks.h" 15 #include "components/ntp_snippets/callbacks.h"
16 #include "components/ntp_snippets/category.h" 16 #include "components/ntp_snippets/category.h"
17 #include "components/ntp_snippets/category_factory.h" 17 #include "components/ntp_snippets/category_factory.h"
18 #include "components/ntp_snippets/category_status.h" 18 #include "components/ntp_snippets/category_status.h"
19 #include "components/ntp_snippets/content_suggestion.h" 19 #include "components/ntp_snippets/content_suggestion.h"
20 #include "components/ntp_snippets/content_suggestions_provider.h" 20 #include "components/ntp_snippets/content_suggestions_provider.h"
21 #include "components/offline_pages/offline_page_model.h" 21 #include "components/offline_pages/core/offline_page_model.h"
22 #include "content/public/browser/download_manager.h" 22 #include "content/public/browser/download_manager.h"
23 23
24 class PrefRegistrySimple; 24 class PrefRegistrySimple;
25 class PrefService; 25 class PrefService;
26 26
27 namespace offline_pages { 27 namespace offline_pages {
28 struct OfflinePageItem; 28 struct OfflinePageItem;
29 } 29 }
30 30
31 // Provides download content suggestions from the offline pages model and the 31 // Provides download content suggestions from the offline pages model and the
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Whether the Download Manager UI is enabled, in which case the More button 217 // Whether the Download Manager UI is enabled, in which case the More button
218 // for the Downloads section can redirect there. 218 // for the Downloads section can redirect there.
219 const bool download_manager_ui_enabled_; 219 const bool download_manager_ui_enabled_;
220 220
221 base::WeakPtrFactory<DownloadSuggestionsProvider> weak_ptr_factory_; 221 base::WeakPtrFactory<DownloadSuggestionsProvider> weak_ptr_factory_;
222 222
223 DISALLOW_COPY_AND_ASSIGN(DownloadSuggestionsProvider); 223 DISALLOW_COPY_AND_ASSIGN(DownloadSuggestionsProvider);
224 }; 224 };
225 225
226 #endif // CHROME_BROWSER_NTP_SNIPPETS_DOWNLOAD_SUGGESTIONS_PROVIDER_H_ 226 #endif // CHROME_BROWSER_NTP_SNIPPETS_DOWNLOAD_SUGGESTIONS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698