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

Unified Diff: chrome/browser/extensions/extension_infobar_delegate.cc

Issue 9433044: Fix extensions compile issues for Android on sync_unit_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/extension_infobar_delegate.cc
diff --git a/chrome/browser/extensions/extension_infobar_delegate.cc b/chrome/browser/extensions/extension_infobar_delegate.cc
index e5ad10b3a0e34b5251b923e28249afdda045c092..f589c0f09340c3d6313e0b7ea249deb2f0b9109a 100644
--- a/chrome/browser/extensions/extension_infobar_delegate.cc
+++ b/chrome/browser/extensions/extension_infobar_delegate.cc
@@ -42,6 +42,10 @@ ExtensionInfoBarDelegate::ExtensionInfoBarDelegate(
// TODO(pkasting): Once Infobars have been ported to Mac, we can remove the
// ifdefs and just use the Infobar constant below.
int default_height = 36;
+#elif defined(OS_ANDROID)
+ // TODO(dtrainor): This is not used. Might need to pull this from Android UI
John Grabowski 2012/02/22 18:34:49 File a bug. Assign to yourself. Tag it somehow (
David Trainor- moved to gerrit 2012/02/22 19:10:19 Done.
+ // level in the future.
+ int default_height = 36;
#endif
height_ = std::max(0, height);
height_ = std::min(2 * default_height, height_);

Powered by Google App Engine
This is Rietveld 408576698