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

Unified Diff: components/infobars/core/infobar_manager.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
« no previous file with comments | « components/infobars/core/infobar_delegate.cc ('k') | components/infobars/core/infobar_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_manager.h
diff --git a/chrome/browser/infobars/infobar_manager.h b/components/infobars/core/infobar_manager.h
similarity index 93%
rename from chrome/browser/infobars/infobar_manager.h
rename to components/infobars/core/infobar_manager.h
index f11768c59ae361ba20f6d35b56c36811097715bf..747d5acb79be1893a33ed3503bc0c5fa068dc5e6 100644
--- a/chrome/browser/infobars/infobar_manager.h
+++ b/components/infobars/core/infobar_manager.h
@@ -2,19 +2,21 @@
// 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_MANAGER_H_
-#define CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_H_
+#ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_
+#define COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_
#include <vector>
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
-#include "chrome/browser/infobars/infobar_delegate.h"
+#include "components/infobars/core/infobar_delegate.h"
namespace content {
class WebContents;
}
+namespace infobars {
+
class InfoBar;
// Provides access to creating, removing and enumerating info bars
@@ -117,4 +119,6 @@ class InfoBarManager {
DISALLOW_COPY_AND_ASSIGN(InfoBarManager);
};
-#endif // CHROME_BROWSER_INFOBARS_INFOBAR_MANAGER_H_
+} // namespace infobars
+
+#endif // COMPONENTS_INFOBARS_CORE_INFOBAR_MANAGER_H_
« no previous file with comments | « components/infobars/core/infobar_delegate.cc ('k') | components/infobars/core/infobar_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698