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

Unified Diff: chrome/browser/infobars/content_confirm_infobar_delegate.cc

Issue 190063006: Infobar Componentization Proof of Concept (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile 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/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; }

Powered by Google App Engine
This is Rietveld 408576698