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

Side by Side Diff: components/infobars/core/infobar_delegate.cc

Issue 1164973003: Add initial support for runtime permissions in android M. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 #include "components/infobars/core/infobar_delegate.h" 5 #include "components/infobars/core/infobar_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "components/infobars/core/infobar.h" 9 #include "components/infobars/core/infobar.h"
10 #include "components/infobars/core/infobar_manager.h" 10 #include "components/infobars/core/infobar_manager.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 } 61 }
62 62
63 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { 63 MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() {
64 return nullptr; 64 return nullptr;
65 } 65 }
66 66
67 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() { 67 NativeAppInfoBarDelegate* InfoBarDelegate::AsNativeAppInfoBarDelegate() {
68 return nullptr; 68 return nullptr;
69 } 69 }
70 70
71 PermissionInfobarDelegate* InfoBarDelegate::AsPermissionInfobarDelegate() {
72 return nullptr;
73 }
74
71 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() { 75 PopupBlockedInfoBarDelegate* InfoBarDelegate::AsPopupBlockedInfoBarDelegate() {
72 return nullptr; 76 return nullptr;
73 } 77 }
74 78
75 RegisterProtocolHandlerInfoBarDelegate* 79 RegisterProtocolHandlerInfoBarDelegate*
76 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() { 80 InfoBarDelegate::AsRegisterProtocolHandlerInfoBarDelegate() {
77 return nullptr; 81 return nullptr;
78 } 82 }
79 83
80 ScreenCaptureInfoBarDelegate* 84 ScreenCaptureInfoBarDelegate*
(...skipping 12 matching lines...) Expand all
93 97
94 translate::TranslateInfoBarDelegate* 98 translate::TranslateInfoBarDelegate*
95 InfoBarDelegate::AsTranslateInfoBarDelegate() { 99 InfoBarDelegate::AsTranslateInfoBarDelegate() {
96 return nullptr; 100 return nullptr;
97 } 101 }
98 102
99 InfoBarDelegate::InfoBarDelegate() { 103 InfoBarDelegate::InfoBarDelegate() {
100 } 104 }
101 105
102 } // namespace infobars 106 } // namespace infobars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698