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

Unified Diff: components/previews/core/previews_decider.h

Issue 2760063002: Add support to previews/ for Server LoFi and LitePages (Closed)
Patch Set: rebase and previews_service_unittest.cc Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/previews/core/previews_decider.h
diff --git a/components/previews/core/previews_decider.h b/components/previews/core/previews_decider.h
index f293c87c1ad0f621e85cf0756f6872cf0c2f6c60..a3d663268235ac74f959ab71c3578740e5ae5fa9 100644
--- a/components/previews/core/previews_decider.h
+++ b/components/previews/core/previews_decider.h
@@ -15,7 +15,9 @@ namespace previews {
class PreviewsDecider {
public:
- // Whether |request| is allowed to show a preview of |type|.
+ // Whether |request| is allowed to show a preview of |type|. Previews that do
+ // not use the default network quality threhold should check the network
tbansal1 2017/05/02 21:49:31 typo in threhold. May be somehow refer to GetEffe
RyanSturm 2017/05/02 22:57:19 Done.
+ // quality before calling ShouldAllowPreview.
virtual bool ShouldAllowPreview(const net::URLRequest& request,
PreviewsType type) const = 0;

Powered by Google App Engine
This is Rietveld 408576698