Index: components/infobars/core/infobar_delegate.h |
diff --git a/chrome/browser/infobars/infobar_delegate.h b/components/infobars/core/infobar_delegate.h |
similarity index 96% |
rename from chrome/browser/infobars/infobar_delegate.h |
rename to components/infobars/core/infobar_delegate.h |
index 05126e167997b71e50d519fefd0c089d4828987a..f1e033806046ec89e3c2fc5a8d3dc51931692b44 100644 |
--- a/chrome/browser/infobars/infobar_delegate.h |
+++ b/components/infobars/core/infobar_delegate.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_ |
-#define CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_ |
+#ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ |
+#define COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ |
#include "base/basictypes.h" |
#include "base/strings/string16.h" |
@@ -12,7 +12,6 @@ |
class AutoLoginInfoBarDelegate; |
class ConfirmInfoBarDelegate; |
class ExtensionInfoBarDelegate; |
-class InfoBar; |
class InsecureContentInfoBarDelegate; |
class MediaStreamInfoBarDelegate; |
class PopupBlockedInfoBarDelegate; |
@@ -26,6 +25,10 @@ namespace gfx { |
class Image; |
} |
+namespace infobars { |
+ |
+class InfoBar; |
+ |
// An interface implemented by objects wishing to control an InfoBar. |
// Implementing this interface is not sufficient to use an InfoBar, since it |
// does not map to a specific InfoBar type. Instead, you must implement |
@@ -140,4 +143,6 @@ class InfoBarDelegate { |
DISALLOW_COPY_AND_ASSIGN(InfoBarDelegate); |
}; |
-#endif // CHROME_BROWSER_INFOBARS_INFOBAR_DELEGATE_H_ |
+} // namespace infobars |
+ |
+#endif // COMPONENTS_INFOBARS_CORE_INFOBAR_DELEGATE_H_ |