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

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

Issue 2000433002: Remove unused DataReductionProxyInfoBar and related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2014 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_PROXY_INFOBAR_H_
6 #define CHROME_BROWSER_UI_ANDROID_INFOBARS_DATA_REDUCTION_PROXY_INFOBAR_H_
7
8 #include "base/macros.h"
9 #include "base/strings/string16.h"
10 #include "chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate_and roid.h"
11 #include "chrome/browser/ui/android/infobars/confirm_infobar.h"
12
13 class DataReductionProxyInfoBar : public ConfirmInfoBar {
14 public:
15 static void Launch(JNIEnv* env,
16 jclass,
17 jobject jweb_contents,
18 jstring jlink_url);
19
20 static bool Register(JNIEnv* env);
21
22 explicit DataReductionProxyInfoBar(
23 std::unique_ptr<DataReductionProxyInfoBarDelegateAndroid> delegate);
24
25 ~DataReductionProxyInfoBar() override;
26
27 private:
28 // ConfirmInfoBar:
29 base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar(
30 JNIEnv* env) override;
31
32 DataReductionProxyInfoBarDelegateAndroid* GetDelegate();
33
34 base::android::ScopedJavaGlobalRef<jobject>
35 java_data_reduction_proxy_delegate_;
36
37 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyInfoBar);
38 };
39
40 bool RegisterDataReductionProxyInfoBar(JNIEnv* env);
41
42 #endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_DATA_REDUCTION_PROXY_INFOBAR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698