Chromium Code Reviews| Index: chrome/browser/ui/autofill/autofill_dialog_controller.cc |
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller.cc b/chrome/browser/ui/autofill/autofill_dialog_controller.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..71e184c47b67d3134c8fcf83e4545963bf8bfe35 |
| --- /dev/null |
| +++ b/chrome/browser/ui/autofill/autofill_dialog_controller.cc |
| @@ -0,0 +1,31 @@ |
| +// Copyright 2013 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/autofill/autofill_dialog_controller.h" |
| + |
| +namespace autofill { |
| + |
| +AutofillDialogController::~AutofillDialogController() {} |
| + |
| +#if !defined(ENABLE_AUTOFILL_DIALOG) |
| +// static |
| +base::WeakPtr<AutofillDialogController> |
| +AutofillDialogController::Create( |
| + content::WebContents* contents, |
| + const FormData& form_structure, |
| + const GURL& source_url, |
| + const DialogType dialog_type, |
| + const base::Callback<void(const FormStructure*, |
| + const std::string&)>& callback) { |
| + NOTIMPLEMENTED(); |
| + return base::WeakPtr<AutofillDialogController>(); |
| +} |
| + |
| +// static |
| +void AutofillDialogController::RegisterProfilePrefs( |
| + user_prefs::PrefRegistrySyncable* registry) { |
|
Evan Stade
2013/08/08 23:03:44
nit: {} on same line
aruslan
2013/08/09 00:01:31
Done.
|
| +} |
| +#endif // !defined(ENABLE_AUTOFILL_DIALOG) |
| + |
| +} // namespace autofill |