Index: chrome/browser/ui/android/infobars/grouped_permission_infobar.h |
diff --git a/chrome/browser/ui/android/infobars/grouped_permission_infobar.h b/chrome/browser/ui/android/infobars/grouped_permission_infobar.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..74c39d61b3432fbef5a8cf720e7a367819b45b10 |
--- /dev/null |
+++ b/chrome/browser/ui/android/infobars/grouped_permission_infobar.h |
@@ -0,0 +1,30 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_ANDROID_INFOBARS_GROUPED_PERMISSION_INFOBAR_H_ |
+#define CHROME_BROWSER_UI_ANDROID_INFOBARS_GROUPED_PERMISSION_INFOBAR_H_ |
+ |
+#include "chrome/browser/ui/android/infobars/confirm_infobar.h" |
+ |
+class GroupedPermissionInfoBarDelegate; |
+ |
+class GroupedPermissionInfoBar : public ConfirmInfoBar { |
+ public: |
+ explicit GroupedPermissionInfoBar( |
+ std::unique_ptr<GroupedPermissionInfoBarDelegate> delegate); |
+ ~GroupedPermissionInfoBar() override; |
+ |
+ static bool Register(JNIEnv* env); |
+ |
+ private: |
+ // InfoBarAndroid: |
+ base::android::ScopedJavaLocalRef<jobject> CreateRenderInfoBar( |
+ JNIEnv* env) override; |
+ |
+ GroupedPermissionInfoBarDelegate* GetDelegate(); |
+ |
+ DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBar); |
+}; |
+ |
+#endif // CHROME_BROWSER_UI_ANDROID_INFOBARS_GROUPED_PERMISSION_INFOBAR_H_ |