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

Unified Diff: components/infobars/core/infobar_container.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.cc ('k') | components/infobars/core/infobar_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/infobars/core/infobar_container.h
diff --git a/chrome/browser/infobars/infobar_container.h b/components/infobars/core/infobar_container.h
similarity index 95%
rename from chrome/browser/infobars/infobar_container.h
rename to components/infobars/core/infobar_container.h
index 683888a5e3612d32bde51e8376ac313dd6d0d50a..9ba60b2ff7c580d85cce64a8fee55713c086af89 100644
--- a/chrome/browser/infobars/infobar_container.h
+++ b/components/infobars/core/infobar_container.h
@@ -2,16 +2,18 @@
// 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_CONTAINER_H_
-#define CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_H_
+#ifndef COMPONENTS_INFOBARS_CORE_INFOBAR_CONTAINER_H_
+#define COMPONENTS_INFOBARS_CORE_INFOBAR_CONTAINER_H_
#include <vector>
#include "base/compiler_specific.h"
#include "base/time/time.h"
-#include "chrome/browser/infobars/infobar_manager.h"
+#include "components/infobars/core/infobar_manager.h"
#include "third_party/skia/include/core/SkColor.h"
+namespace infobars {
+
class InfoBar;
// InfoBarContainer is a cross-platform base class to handle the visibility-
@@ -130,4 +132,6 @@ class InfoBarContainer : public InfoBarManager::Observer {
DISALLOW_COPY_AND_ASSIGN(InfoBarContainer);
};
-#endif // CHROME_BROWSER_INFOBARS_INFOBAR_CONTAINER_H_
+} // namespace infobars
+
+#endif // COMPONENTS_INFOBARS_CORE_INFOBAR_CONTAINER_H_
« no previous file with comments | « components/infobars/core/infobar.cc ('k') | components/infobars/core/infobar_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698