| Index: components/infobars/core/infobar_delegate.cc
|
| diff --git a/chrome/browser/infobars/infobar_delegate.cc b/components/infobars/core/infobar_delegate.cc
|
| similarity index 92%
|
| rename from chrome/browser/infobars/infobar_delegate.cc
|
| rename to components/infobars/core/infobar_delegate.cc
|
| index b4576d25012686c535641ec5c1a420651cb9c8e2..5c7c5f874d8e521985da3e2f3b6e3a021ba8e92b 100644
|
| --- a/chrome/browser/infobars/infobar_delegate.cc
|
| +++ b/components/infobars/core/infobar_delegate.cc
|
| @@ -2,14 +2,16 @@
|
| // 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_delegate.h"
|
| +#include "components/infobars/core/infobar_delegate.h"
|
|
|
| #include "base/logging.h"
|
| #include "build/build_config.h"
|
| -#include "chrome/browser/infobars/infobar.h"
|
| -#include "chrome/browser/infobars/infobar_manager.h"
|
| +#include "components/infobars/core/infobar.h"
|
| +#include "components/infobars/core/infobar_manager.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
|
|
| +namespace infobars {
|
| +
|
| const int InfoBarDelegate::kNoIconID = 0;
|
|
|
| InfoBarDelegate::~InfoBarDelegate() {
|
| @@ -105,3 +107,5 @@ bool InfoBarDelegate::ShouldExpireInternal(
|
| // anyone who overrides this as necessary!
|
| return (contents_unique_id_ != details.entry_id) || details.is_reload;
|
| }
|
| +
|
| +} // namespace infobars
|
|
|