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

Unified Diff: chrome/browser/ui/android/infobars/infobar_android.h

Issue 240193003: Move Infobars core files to the Infobars component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nib name on mac Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/infobar_android.h
diff --git a/chrome/browser/ui/android/infobars/infobar_android.h b/chrome/browser/ui/android/infobars/infobar_android.h
index 95a7d0979371b76fe2ffc79784d3fdfd4b3ba25f..6b42b6733872de6109f76c1f7ed8fd422d92b5b5 100644
--- a/chrome/browser/ui/android/infobars/infobar_android.h
+++ b/chrome/browser/ui/android/infobars/infobar_android.h
@@ -11,12 +11,15 @@
#include "base/android/scoped_java_ref.h"
#include "base/basictypes.h"
#include "base/compiler_specific.h"
-#include "chrome/browser/infobars/infobar.h"
+#include "components/infobars/core/infobar.h"
-class InfoBarDelegate;
class InfoBarService;
-class InfoBarAndroid : public InfoBar {
+namespace infobars {
+class InfoBarDelegate;
+}
+
+class InfoBarAndroid : public infobars::InfoBar {
public:
// Make sure this set of values is aligned with the java constants defined in
@@ -31,7 +34,7 @@ class InfoBarAndroid : public InfoBar {
ACTION_TRANSLATE_SHOW_ORIGINAL = 4,
};
- explicit InfoBarAndroid(scoped_ptr<InfoBarDelegate> delegate);
+ explicit InfoBarAndroid(scoped_ptr<infobars::InfoBarDelegate> delegate);
virtual ~InfoBarAndroid();
// InfoBar:
« no previous file with comments | « chrome/browser/ui/android/infobars/confirm_infobar.cc ('k') | chrome/browser/ui/android/infobars/infobar_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698