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

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

Issue 2794283003: Remove MediaThrottler and MediaThrottleInfoBar (Closed)
Patch Set: Drop IPCs on webview Created 3 years, 8 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 InfoBarDelegate::AsTranslateInfoBarDelegate() { 124 InfoBarDelegate::AsTranslateInfoBarDelegate() {
125 return nullptr; 125 return nullptr;
126 } 126 }
127 127
128 #if defined(OS_ANDROID) 128 #if defined(OS_ANDROID)
129 MediaStreamInfoBarDelegateAndroid* 129 MediaStreamInfoBarDelegateAndroid*
130 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() { 130 InfoBarDelegate::AsMediaStreamInfoBarDelegateAndroid() {
131 return nullptr; 131 return nullptr;
132 } 132 }
133 133
134 MediaThrottleInfoBarDelegate*
135 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
136 return nullptr;
137 }
138
139 offline_pages::OfflinePageInfoBarDelegate* 134 offline_pages::OfflinePageInfoBarDelegate*
140 InfoBarDelegate::AsOfflinePageInfoBarDelegate() { 135 InfoBarDelegate::AsOfflinePageInfoBarDelegate() {
141 return nullptr; 136 return nullptr;
142 } 137 }
143 #endif 138 #endif
144 139
145 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 140 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
146 } 141 }
147 142
148 } // namespace infobars 143 } // namespace infobars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698