OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_OFFLINE_PAGE_FEATURE_H_ | 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_FEATURE_H_ |
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ | 6 #define COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_FEATURE_H_ |
7 | 7 |
8 #include "base/feature_list.h" | 8 #include "base/feature_list.h" |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
11 namespace offline_pages { | 11 namespace offline_pages { |
12 | 12 |
13 extern const base::Feature kOfflineBookmarksFeature; | 13 extern const base::Feature kOfflineBookmarksFeature; |
14 extern const base::Feature kOffliningRecentPagesFeature; | 14 extern const base::Feature kOffliningRecentPagesFeature; |
15 extern const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature; | 15 extern const base::Feature kOfflinePagesSvelteConcurrentLoadingFeature; |
16 extern const base::Feature kOfflinePagesCTFeature; | 16 extern const base::Feature kOfflinePagesCTFeature; |
(...skipping 24 matching lines...) Expand all Loading... |
41 // Returns true if downloading a page asynchonously is enabled. | 41 // Returns true if downloading a page asynchonously is enabled. |
42 bool IsOfflinePagesAsyncDownloadEnabled(); | 42 bool IsOfflinePagesAsyncDownloadEnabled(); |
43 | 43 |
44 // Returns true if we should use background loader rather than prerenderer | 44 // Returns true if we should use background loader rather than prerenderer |
45 // to offline pages. | 45 // to offline pages. |
46 bool ShouldUseNewBackgroundLoader(); | 46 bool ShouldUseNewBackgroundLoader(); |
47 | 47 |
48 } // namespace offline_pages | 48 } // namespace offline_pages |
49 | 49 |
50 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ | 50 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ |
OLD | NEW |