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

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: newt comments 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
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698