Chromium Code Reviews| Index: chrome/browser/previews/previews_infobar_delegate.h |
| diff --git a/chrome/browser/previews/previews_infobar_delegate.h b/chrome/browser/previews/previews_infobar_delegate.h |
| index f362be5c2a58d71a574dda0d2228860e1cc085b7..0bbf537f23518dd8ab648d0543001dcb9a867517 100644 |
| --- a/chrome/browser/previews/previews_infobar_delegate.h |
| +++ b/chrome/browser/previews/previews_infobar_delegate.h |
| @@ -21,10 +21,13 @@ class PreviewsInfoBarDelegate : public ConfirmInfoBarDelegate { |
| public: |
| // The type of the infobar. It controls the strings and what UMA data is |
| // recorded for the infobar. |
| + // TODO(ryansturm): Combine PreviewsInfoBarType with previews::PreviewsType. |
| + // crbug.com/704335 |
| enum PreviewsInfoBarType { |
| - LOFI, // Server-side image replacement. |
| - LITE_PAGE, // Server-side page rewrite. |
| - OFFLINE, // Offline copy of the page. |
| + LOFI, // Server-side image replacement. |
| + LITE_PAGE, // Server-side page rewrite. |
| + OFFLINE, // Offline copy of the page. |
| + CLIENT_LOFI, // Client-side image replacement. |
|
sclittle
2017/05/03 18:40:21
Since both Server LoFi and Client LoFi will often
RyanSturm
2017/05/03 18:48:52
I'd prefer to know the difference between the opt
sclittle
2017/05/03 19:02:47
Client LoFi tries to target all http:// and https:
|
| }; |
| typedef base::Callback<void(bool opt_out)> OnDismissPreviewsInfobarCallback; |