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

Unified Diff: components/data_reduction_proxy/core/common/lofi_ui_service.h

Issue 1576493002: Change the Lo-Fi snackbar strings for Lo-Fi preview pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@showLoFiSnackbarNative
Patch Set: tbansal comment Created 4 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: components/data_reduction_proxy/core/common/lofi_ui_service.h
diff --git a/components/data_reduction_proxy/core/common/lofi_ui_service.h b/components/data_reduction_proxy/core/common/lofi_ui_service.h
index 656dab4de9bd51c2e39f9e14a1f06a79c4a6f3f2..d22473a01f4def7a41c9fe35d4873003cc7d441f 100644
--- a/components/data_reduction_proxy/core/common/lofi_ui_service.h
+++ b/components/data_reduction_proxy/core/common/lofi_ui_service.h
@@ -19,8 +19,10 @@ class LoFiUIService {
public:
virtual ~LoFiUIService() {}
- // Notifies the UI thread that |request| has a Lo-Fi response.
- virtual void OnLoFiReponseReceived(const net::URLRequest& request) = 0;
+ // Notifies the UI thread that |request| has a Lo-Fi response. |is_preview|
+ // indicates whether the response was a Lo-Fi preview response.
+ virtual void OnLoFiReponseReceived(const net::URLRequest& request,
+ bool is_preview) = 0;
};
} // namespace data_reduction_proxy

Powered by Google App Engine
This is Rietveld 408576698