summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/passwords/passwords_model_delegate.cc
blob: 12e299d41323faa88d30f5a65b59dda598aa8cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2015 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/passwords_model_delegate.h"

#include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h"

PasswordsModelDelegate* PasswordsModelDelegateFromWebContents(
    content::WebContents* web_contents) {
  DCHECK(web_contents);
  return ManagePasswordsUIController::FromWebContents(web_contents);
}