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..69a03a80fa7c7da055c761be32d1064d0728cb65 |
--- /dev/null |
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller.cc |
@@ -0,0 +1,30 @@ |
+// 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) {} |
+#endif // !defined(ENABLE_AUTOFILL_DIALOG) |
+ |
+} // namespace autofill |