Index: components/infobars/core/infobar.cc |
diff --git a/chrome/browser/infobars/infobar.cc b/components/infobars/core/infobar.cc |
similarity index 96% |
rename from chrome/browser/infobars/infobar.cc |
rename to components/infobars/core/infobar.cc |
index 15f04c8be5e3438afc11e7c472d3280381b10b6b..6c9398aa4e4dc96d818a27e5aefbcc32ae5a5d22 100644 |
--- a/chrome/browser/infobars/infobar.cc |
+++ b/components/infobars/core/infobar.cc |
@@ -2,16 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/infobars/infobar.h" |
+#include "components/infobars/core/infobar.h" |
#include <cmath> |
#include "base/logging.h" |
#include "build/build_config.h" |
-#include "chrome/browser/infobars/infobar_container.h" |
-#include "chrome/browser/infobars/infobar_manager.h" |
+#include "components/infobars/core/infobar_container.h" |
+#include "components/infobars/core/infobar_manager.h" |
#include "ui/gfx/animation/slide_animation.h" |
+namespace infobars { |
+ |
InfoBar::InfoBar(scoped_ptr<InfoBarDelegate> delegate) |
: owner_(NULL), |
delegate_(delegate.Pass()), |
@@ -173,3 +175,5 @@ void InfoBar::MaybeDelete() { |
delete this; |
} |
} |
+ |
+} // namespace infobars |