autofill_dialog_controller.cc revision d0247b1b59f9c528cb6df88b4f2b9afaf80d181e
1// Copyright 2013 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/autofill/autofill_dialog_controller.h"
6
7namespace autofill {
8
9AutofillDialogController::~AutofillDialogController() {}
10
11#if !defined(ENABLE_AUTOFILL_DIALOG)
12// static
13base::WeakPtr<AutofillDialogController>
14AutofillDialogController::Create(
15    content::WebContents* contents,
16    const FormData& form_structure,
17    const GURL& source_url,
18    const base::Callback<void(const FormStructure*)>& callback) {
19  NOTIMPLEMENTED();
20  return base::WeakPtr<AutofillDialogController>();
21}
22
23// static
24void AutofillDialogController::RegisterProfilePrefs(
25    user_prefs::PrefRegistrySyncable* registry) {}
26#endif  //  !defined(ENABLE_AUTOFILL_DIALOG)
27
28}  // namespace autofill
29