Index: chrome/browser/ui/passwords/manage_passwords_bubble.cc |
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble.cc b/chrome/browser/ui/passwords/manage_passwords_bubble.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..87efd800145f7b84a55da6ac7bec028d1e68a304 |
--- /dev/null |
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble.cc |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 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. |
+ |
+#include "chrome/browser/ui/passwords/manage_passwords_bubble.h" |
+ |
+#include "base/metrics/histogram.h" |
+#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
+ |
+ManagePasswordsBubble::ManagePasswordsBubble(content::WebContents* contents, |
+ DisplayReason reason) |
+ : model_(new ManagePasswordsBubbleModel(contents)) { |
+ model()->OnBubbleShown(reason); |
+} |
+ |
+ManagePasswordsBubble::~ManagePasswordsBubble() { |
+ model()->OnBubbleHidden(); |
+} |