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

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

Issue 2655273003: Adds a first integration test for the Recent Tabs feature. (Closed)
Patch Set: Fix wrapping of comment text. Created 3 years, 10 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_CORE_OFFLINE_PAGE_FEATURE_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_OFFLINE_PAGE_FEATURE_H_
6 #define COMPONENTS_OFFLINE_PAGES_CORE_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
(...skipping 27 matching lines...) Expand all
38 // Returns true if concurrent background loading is enabled for svelte. 38 // Returns true if concurrent background loading is enabled for svelte.
39 bool IsOfflinePagesSvelteConcurrentLoadingEnabled(); 39 bool IsOfflinePagesSvelteConcurrentLoadingEnabled();
40 40
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 // Returns true if a command line for test has been set that shortens the
49 // snapshot delay.
50 bool ShouldUseTestingSnapshotDelay();
51
48 } // namespace offline_pages 52 } // namespace offline_pages
49 53
50 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_ 54 #endif // COMPONENTS_OFFLINE_PAGES_OFFLINE_PAGE_FEATURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698