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

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

Issue 1372203002: Throttle media decoding after excessive Android media server crashes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 5 years, 2 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 ThemeInstalledInfoBarDelegate* 124 ThemeInstalledInfoBarDelegate*
125 InfoBarDelegate::AsThemePreviewInfobarDelegate() { 125 InfoBarDelegate::AsThemePreviewInfobarDelegate() {
126 return nullptr; 126 return nullptr;
127 } 127 }
128 128
129 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { 129 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() {
130 return nullptr; 130 return nullptr;
131 } 131 }
132 132
133 translate::TranslateInfoBarDelegate* 133 translate::TranslateInfoBarDelegate*
134 InfoBarDelegate::AsTranslateInfoBarDelegate() { 134 InfoBarDelegate::AsTranslateInfoBarDelegate() {
135 return nullptr; 135 return nullptr;
136 } 136 }
137 137
138 #if defined(OS_ANDROID)
139 MediaThrottleInfoBarDelegate*
140 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
141 return nullptr;
142 }
143 #endif
144
138 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 145 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
139 } 146 }
140 147
141 } // namespace infobars 148 } // namespace infobars
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698