Index: chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h |
diff --git a/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h b/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h |
index 85516b9f75f1ad186bc4311221dc7e0e07dd26d1..4413803a3eed8f9646e5498b956bbe7ad3e416c2 100644 |
--- a/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h |
+++ b/chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h |
@@ -14,6 +14,10 @@ namespace content { |
class WebContents; |
} |
+namespace infobars { |
+class InfoBarManager; |
+} |
Peter Kasting
2014/12/19 23:06:23
This forward-decl doesn't seem to be needed?
sdefresne
2014/12/20 11:30:55
It is in fact required to allow Android code to pr
Peter Kasting
2014/12/22 19:22:05
I don't understand why the forward-decl is needed
sdefresne
2014/12/22 20:48:41
Sorry, I was again unclear. I planned to remove th
|
+ |
// Configures an InfoBar with no buttons that stays visible until it is |
// explicitly dismissed. This InfoBar is suitable for displaying a message |
// and a link, and is used only by an Android field trial. |
@@ -28,10 +32,6 @@ class DataReductionProxyInfoBarDelegate : public ConfirmInfoBarDelegate { |
private: |
explicit DataReductionProxyInfoBarDelegate(const std::string& link_url); |
- // Returns a Data Reduction Proxy infobar that owns |delegate|. |
- static scoped_ptr<infobars::InfoBar> CreateInfoBar( |
- scoped_ptr<DataReductionProxyInfoBarDelegate> delegate); |
- |
// ConfirmInfoBarDelegate |
base::string16 GetMessageText() const override; |
int GetButtons() const override; |