Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / autofill / autofill_dialog_controller.cc
blob39a8530ce7c5cf41830ceb53eba3c7be3b3a6907
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.
5 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h"
7 namespace autofill {
9 AutofillDialogController::~AutofillDialogController() {}
11 #if !defined(ENABLE_AUTOFILL_DIALOG)
12 // static
13 base::WeakPtr<AutofillDialogController>
14 AutofillDialogController::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>();
23 // static
24 void AutofillDialogController::RegisterPrefs(PrefRegistrySimple* registry) {}
26 // static
27 void AutofillDialogController::RegisterProfilePrefs(
28 user_prefs::PrefRegistrySyncable* registry) {}
29 #endif // !defined(ENABLE_AUTOFILL_DIALOG)
31 } // namespace autofill