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 19 matching lines...) Expand all Loading... |
36 | 36 |
37 // Returns true if concurrent background loading is enabled for svelte. | 37 // Returns true if concurrent background loading is enabled for svelte. |
38 bool IsOfflinePagesSvelteConcurrentLoadingEnabled(); | 38 bool IsOfflinePagesSvelteConcurrentLoadingEnabled(); |
39 | 39 |
40 // Returns true if downloading a page asynchonously is enabled. | 40 // Returns true if downloading a page asynchonously is enabled. |
41 bool IsOfflinePagesAsyncDownloadEnabled(); | 41 bool IsOfflinePagesAsyncDownloadEnabled(); |
42 | 42 |
43 } // namespace offline_pages | 43 } // namespace offline_pages |
44 | 44 |
45 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ | 45 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ |
OLD | NEW |