OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 5 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
6 | 6 |
7 namespace autofill { | 7 namespace autofill { |
8 | 8 |
9 AutofillDialogController::~AutofillDialogController() {} | 9 AutofillDialogController::~AutofillDialogController() {} |
10 | 10 |
11 #if !defined(ENABLE_AUTOFILL_DIALOG) | 11 #if !defined(ENABLE_AUTOFILL_DIALOG) |
12 // static | 12 // static |
13 base::WeakPtr<AutofillDialogController> | 13 base::WeakPtr<AutofillDialogController> |
14 AutofillDialogController::Create( | 14 AutofillDialogController::Create( |
15 content::WebContents* contents, | 15 content::WebContents* contents, |
16 const FormData& form_structure, | 16 const FormData& form_structure, |
17 const GURL& source_url, | 17 const GURL& source_url, |
18 const DialogType dialog_type, | |
19 const base::Callback<void(const FormStructure*, | 18 const base::Callback<void(const FormStructure*, |
20 const std::string&)>& callback) { | 19 const std::string&)>& callback) { |
21 NOTIMPLEMENTED(); | 20 NOTIMPLEMENTED(); |
22 return base::WeakPtr<AutofillDialogController>(); | 21 return base::WeakPtr<AutofillDialogController>(); |
23 } | 22 } |
24 | 23 |
25 // static | 24 // static |
26 void AutofillDialogController::RegisterProfilePrefs( | 25 void AutofillDialogController::RegisterProfilePrefs( |
27 user_prefs::PrefRegistrySyncable* registry) {} | 26 user_prefs::PrefRegistrySyncable* registry) {} |
28 #endif // !defined(ENABLE_AUTOFILL_DIALOG) | 27 #endif // !defined(ENABLE_AUTOFILL_DIALOG) |
29 | 28 |
30 } // namespace autofill | 29 } // namespace autofill |
OLD | NEW |