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

Unified Diff: chrome/browser/ui/startup/google_api_keys_infobar_delegate.h

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: minor fixes Created 6 years, 9 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
Index: chrome/browser/ui/startup/google_api_keys_infobar_delegate.h
diff --git a/chrome/browser/ui/startup/google_api_keys_infobar_delegate.h b/chrome/browser/ui/startup/google_api_keys_infobar_delegate.h
index 23bfb1e758d3e7a6712a708639bed4e2ea6df13d..b7a78634b4418b2d130c85085c07ac7f5157dd48 100644
--- a/chrome/browser/ui/startup/google_api_keys_infobar_delegate.h
+++ b/chrome/browser/ui/startup/google_api_keys_infobar_delegate.h
@@ -7,20 +7,20 @@
#include "base/compiler_specific.h"
#include "base/strings/string16.h"
-#include "chrome/browser/infobars/confirm_infobar_delegate.h"
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h"
#include "url/gurl.h"
class InfoBarService;
// An infobar that is run with a string and a "Learn More" link.
-class GoogleApiKeysInfoBarDelegate : public ConfirmInfoBarDelegate {
+class GoogleApiKeysInfoBarDelegate : public ContentConfirmInfoBarDelegate {
public:
// If Google API keys are missing, creates a missing Google API Keys infobar
// and delegate and adds the infobar to |infobar_service|.
static void Create(InfoBarService* infobar_service);
private:
- GoogleApiKeysInfoBarDelegate();
+ explicit GoogleApiKeysInfoBarDelegate(content::WebContents* web_contents);
virtual ~GoogleApiKeysInfoBarDelegate();
virtual base::string16 GetMessageText() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698