| Index: components/infobars/core/infobar_manager.cc
|
| diff --git a/chrome/browser/infobars/infobar_manager.cc b/components/infobars/core/infobar_manager.cc
|
| similarity index 95%
|
| rename from chrome/browser/infobars/infobar_manager.cc
|
| rename to components/infobars/core/infobar_manager.cc
|
| index ce2cb6c2160f14e7687864e087e64fe98e63f26a..6525a9aa87dbd72921ee5d726bec7b7f3fda9ae9 100644
|
| --- a/chrome/browser/infobars/infobar_manager.cc
|
| +++ b/components/infobars/core/infobar_manager.cc
|
| @@ -2,11 +2,13 @@
|
| // 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_manager.h"
|
| +#include "components/infobars/core/infobar_manager.h"
|
|
|
| #include "base/command_line.h"
|
| -#include "chrome/browser/infobars/infobar.h"
|
| -#include "chrome/common/chrome_switches.h"
|
| +#include "components/infobars/core/infobar.h"
|
| +#include "components/infobars/core/infobars_switches.h"
|
| +
|
| +namespace infobars {
|
|
|
| InfoBar* InfoBarManager::AddInfoBar(scoped_ptr<InfoBar> infobar) {
|
| DCHECK(infobar);
|
| @@ -135,3 +137,5 @@ void InfoBarManager::RemoveInfoBarInternal(InfoBar* infobar, bool animate) {
|
|
|
| infobar->CloseSoon();
|
| }
|
| +
|
| +} // namespace infobars
|
|
|