Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 229723002: Better error reasons for rAc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 46b815f4dbea2acd3fdc1c87b4a426b21b5217ca..251bc5b951d00e553042a73188921c96246a4ff4 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -8,7 +8,6 @@
#include <set>
#include <vector>
-#include "base/callback.h"
#include "base/gtest_prod_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
@@ -88,7 +87,7 @@ class AutofillDialogControllerImpl
content::WebContents* contents,
const FormData& form_structure,
const GURL& source_url,
- const base::Callback<void(const FormStructure*)>& callback);
+ const AutofillManagerDelegate::ResultCallback& callback);
// AutofillDialogController implementation.
virtual void Show() OVERRIDE;
@@ -240,7 +239,7 @@ class AutofillDialogControllerImpl
content::WebContents* contents,
const FormData& form_structure,
const GURL& source_url,
- const base::Callback<void(const FormStructure*)>& callback);
+ const AutofillManagerDelegate::ResultCallback& callback);
// Exposed for testing.
AutofillDialogView* view() { return view_.get(); }
@@ -630,7 +629,7 @@ class AutofillDialogControllerImpl
GURL source_url_;
// The callback via which we return the collected data.
- base::Callback<void(const FormStructure*)> callback_;
+ AutofillManagerDelegate::ResultCallback callback_;
// The AccountChooserModel acts as the MenuModel for the account chooser,
// and also tracks which data source the dialog is using.

Powered by Google App Engine
This is Rietveld 408576698