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

Side by Side Diff: components/offline_pages/offline_page_feature.h

Issue 1772233003: Flag for Background Loading of Offline Pages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust line spacing Created 4 years, 9 months 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 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_OFFLINE_PAGE_FEATURE_H_
6 #define COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ 6 #define COMPONENTS_OFFLINE_PAGES_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
(...skipping 13 matching lines...) Expand all
24 24
25 // Returns the mode where Offline Pages feature is running. 25 // Returns the mode where Offline Pages feature is running.
26 FeatureMode GetOfflinePageFeatureMode(); 26 FeatureMode GetOfflinePageFeatureMode();
27 27
28 // Returns true if offline pages is enabled. 28 // Returns true if offline pages is enabled.
29 bool IsOfflinePagesEnabled(); 29 bool IsOfflinePagesEnabled();
30 30
31 // Returns true if offlining of recent pages (aka 'Last N pages') is enabled. 31 // Returns true if offlining of recent pages (aka 'Last N pages') is enabled.
32 bool IsOffliningRecentPagesEnabled(); 32 bool IsOffliningRecentPagesEnabled();
33 33
34 // Returns true if saving offline pages in the background is enabled.
35 bool IsOfflinePagesBackgroundLoadingEnabled();
36
34 } // namespace offline_pages 37 } // namespace offline_pages
35 38
36 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ 39 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698