app_shell: Add version number in user agent
[chromium-blink-merge.git] / chrome / browser / ui / passwords / manage_passwords_bubble.cc
blob87efd800145f7b84a55da6ac7bec028d1e68a304
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.
5 #include "chrome/browser/ui/passwords/manage_passwords_bubble.h"
7 #include "base/metrics/histogram.h"
8 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
10 ManagePasswordsBubble::ManagePasswordsBubble(content::WebContents* contents,
11 DisplayReason reason)
12 : model_(new ManagePasswordsBubbleModel(contents)) {
13 model()->OnBubbleShown(reason);
16 ManagePasswordsBubble::~ManagePasswordsBubble() {
17 model()->OnBubbleHidden();