1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/ui/passwords/manage_passwords_bubble.h"
6
7#include "base/metrics/histogram.h"
8#include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
9
10ManagePasswordsBubble::ManagePasswordsBubble(content::WebContents* contents,
11                                             DisplayReason reason)
12    : model_(new ManagePasswordsBubbleModel(contents)) {
13  model()->OnBubbleShown(reason);
14}
15
16ManagePasswordsBubble::~ManagePasswordsBubble() {
17  model()->OnBubbleHidden();
18}
19