Index: chrome/browser/infobars/content_confirm_infobar_delegate.cc |
diff --git a/device/bluetooth/test/mock_bluetooth_discovery_session.cc b/chrome/browser/infobars/content_confirm_infobar_delegate.cc |
similarity index 33% |
copy from device/bluetooth/test/mock_bluetooth_discovery_session.cc |
copy to chrome/browser/infobars/content_confirm_infobar_delegate.cc |
index 72449ee9767de49656cbae5f13dec3e4f742878e..0673aba6369e8d31ea26620f757bf473e5249ff7 100644 |
--- a/device/bluetooth/test/mock_bluetooth_discovery_session.cc |
+++ b/chrome/browser/infobars/content_confirm_infobar_delegate.cc |
@@ -2,13 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "device/bluetooth/test/mock_bluetooth_discovery_session.h" |
+#include "chrome/browser/infobars/content_confirm_infobar_delegate.h" |
-#include "device/bluetooth/bluetooth_adapter.h" |
+ContentConfirmInfoBarDelegate::~ContentConfirmInfoBarDelegate() {} |
-namespace device { |
+ContentConfirmInfoBarDelegate::ContentConfirmInfoBarDelegate( |
+ content::WebContents* web_contents) |
+ : web_contents_(web_contents) {} |
-MockBluetoothDiscoverySession::MockBluetoothDiscoverySession() {} |
-MockBluetoothDiscoverySession::~MockBluetoothDiscoverySession() {} |
- |
-} // namespace device |
+void ContentConfirmInfoBarDelegate::CleanUp() { web_contents_ = NULL; } |