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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: fix ContentResourceProviderTest Created 3 years, 11 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: third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
index 64427b439b7c5964ded8ee34eebcc7a6166cd131..0364dad38d08c685da101817cbd8b19ce0081867 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLRequest.cpp
@@ -347,12 +347,13 @@ void WebURLRequest::setFetchRedirectMode(
return m_resourceRequest->setFetchRedirectMode(redirect);
}
-WebURLRequest::LoFiState WebURLRequest::getLoFiState() const {
- return m_resourceRequest->loFiState();
+WebURLRequest::PreviewsState WebURLRequest::getPreviewsState() const {
+ return m_resourceRequest->previewsState();
}
-void WebURLRequest::setLoFiState(WebURLRequest::LoFiState loFiState) {
- return m_resourceRequest->setLoFiState(loFiState);
+void WebURLRequest::setPreviewsState(
+ WebURLRequest::PreviewsState previewsState) {
+ return m_resourceRequest->setPreviewsState(previewsState);
}
WebURLRequest::ExtraData* WebURLRequest::getExtraData() const {

Powered by Google App Engine
This is Rietveld 408576698