| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H
_ | 5 #ifndef CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H
_ |
| 6 #define CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H
_ | 6 #define CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROID_H
_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 const std::vector<PermissionRequest*>& requests); | 64 const std::vector<PermissionRequest*>& requests); |
| 65 | 65 |
| 66 // ConfirmInfoBarDelegate: | 66 // ConfirmInfoBarDelegate: |
| 67 InfoBarIdentifier GetIdentifier() const override; | 67 InfoBarIdentifier GetIdentifier() const override; |
| 68 Type GetInfoBarType() const override; | 68 Type GetInfoBarType() const override; |
| 69 int GetButtons() const override; | 69 int GetButtons() const override; |
| 70 base::string16 GetButtonLabel(InfoBarButton button) const override; | 70 base::string16 GetButtonLabel(InfoBarButton button) const override; |
| 71 | 71 |
| 72 const GURL requesting_origin_; | 72 const GURL requesting_origin_; |
| 73 const std::vector<PermissionRequest*> requests_; | 73 const std::vector<PermissionRequest*> requests_; |
| 74 std::vector<bool> accept_states_; | |
| 75 // Whether the accept/deny decision is persisted. | 74 // Whether the accept/deny decision is persisted. |
| 76 bool persist_; | 75 bool persist_; |
| 77 PermissionPromptAndroid* permission_prompt_; | 76 PermissionPromptAndroid* permission_prompt_; |
| 78 | 77 |
| 79 DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBarDelegate); | 78 DISALLOW_COPY_AND_ASSIGN(GroupedPermissionInfoBarDelegate); |
| 80 }; | 79 }; |
| 81 | 80 |
| 82 #endif // CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROI
D_H_ | 81 #endif // CHROME_BROWSER_PERMISSIONS_GROUPED_PERMISSION_INFOBAR_DELEGATE_ANDROI
D_H_ |
| OLD | NEW |