summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/theme_installed_infobar_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/theme_installed_infobar_delegate.h')
-rw-r--r--chrome/browser/extensions/theme_installed_infobar_delegate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/browser/extensions/theme_installed_infobar_delegate.h b/chrome/browser/extensions/theme_installed_infobar_delegate.h
index beb99c6..7674a4c 100644
--- a/chrome/browser/extensions/theme_installed_infobar_delegate.h
+++ b/chrome/browser/extensions/theme_installed_infobar_delegate.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -30,6 +30,10 @@ class ThemeInstalledInfoBarDelegate : public ConfirmInfoBarDelegate,
ConfirmInfoBarDelegate::InfoBarButton button) const;
virtual bool Cancel();
+ // Returns true if the given theme is the same as the one associated with this
+ // info bar.
+ bool MatchesTheme(Extension* theme);
+
// NotificationObserver implementation.
virtual void Observe(NotificationType type,
const NotificationSource& source,