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

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: new infobar text per UI review 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 ThemeInstalledInfoBarDelegate* 119 ThemeInstalledInfoBarDelegate*
120 InfoBarDelegate::AsThemePreviewInfobarDelegate() { 120 InfoBarDelegate::AsThemePreviewInfobarDelegate() {
121 return nullptr; 121 return nullptr;
122 } 122 }
123 123
124 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() { 124 ThreeDAPIInfoBarDelegate* InfoBarDelegate::AsThreeDAPIInfoBarDelegate() {
125 return nullptr; 125 return nullptr;
126 } 126 }
127 127
128 translate::TranslateInfoBarDelegate* 128 translate::TranslateInfoBarDelegate*
129 InfoBarDelegate::AsTranslateInfoBarDelegate() { 129 InfoBarDelegate::AsTranslateInfoBarDelegate() {
130 return nullptr; 130 return nullptr;
131 } 131 }
132 132
133 #if defined(OS_ANDROID)
134 MediaThrottleInfoBarDelegate*
135 InfoBarDelegate::AsMediaThrottleInfoBarDelegate() {
136 return nullptr;
137 }
138 #endif
139
133 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) { 140 InfoBarDelegate::InfoBarDelegate() : nav_entry_id_(0) {
134 } 141 }
135 142
136 } // namespace infobars 143 } // namespace infobars
OLDNEW
« no previous file with comments | « components/infobars/core/infobar_delegate.h ('k') | content/browser/media/android/browser_media_player_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698