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

Side by Side Diff: chrome/browser/ui/android/infobars/data_reduction_promo_infobar.h

Issue 2022313002: UI for the Data Saver InfoBar Promo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@infobarPromo
Patch Set: "tbansal comments" Created 4 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_DATA_REDUCTION_PROMO_INFOBAR_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_DATA_REDUCTION_PROMO_INFOBAR_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/net/spdyproxy/data_reduction_promo_infobar_delegate_and roid.h"
10 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
11
12 class DataReductionPromoInfoBar : public ConfirmInfoBar {
13 public:
14 explicit DataReductionPromoInfoBar(
15 std::unique_ptr<DataReductionPromoInfoBarDelegateAndroid> delegate);
16
17 ~DataReductionPromoInfoBar() override;
18
19 private:
20 // ConfirmInfoBar:
21 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
22 JNIEnv* env) override;
23
24 DataReductionPromoInfoBarDelegateAndroid* GetDelegate();
25
26 DISALLOW_COPY_AND_ASSIGN(DataReductionPromoInfoBar);
27 };
28
29 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_DATA_REDUCTION_PROMO_INFOBAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698