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

Side by Side Diff: components/autofill/core/browser/autofill_manager_delegate.h

Issue 232263002: Console logging for rAc developer errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: platforms 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 enum RequestAutocompleteResult { 47 enum RequestAutocompleteResult {
48 AutocompleteResultSuccess, 48 AutocompleteResultSuccess,
49 AutocompleteResultErrorDisabled, 49 AutocompleteResultErrorDisabled,
50 AutocompleteResultErrorCancel, 50 AutocompleteResultErrorCancel,
51 AutocompleteResultErrorInvalid, 51 AutocompleteResultErrorInvalid,
52 // TODO(estade): add this one to WebFormElement::AutocompleteResult. 52 // TODO(estade): add this one to WebFormElement::AutocompleteResult.
53 AutocompleteResultErrorUnsupported, 53 AutocompleteResultErrorUnsupported,
54 }; 54 };
55 55
56 typedef base::Callback< 56 typedef base::Callback<
57 void(RequestAutocompleteResult, const FormStructure*)> ResultCallback; 57 void(RequestAutocompleteResult,
58 const base::string16&,
59 const FormStructure*)> ResultCallback;
58 60
59 virtual ~AutofillManagerDelegate() {} 61 virtual ~AutofillManagerDelegate() {}
60 62
61 // Gets the PersonalDataManager instance associated with the delegate. 63 // Gets the PersonalDataManager instance associated with the delegate.
62 virtual PersonalDataManager* GetPersonalDataManager() = 0; 64 virtual PersonalDataManager* GetPersonalDataManager() = 0;
63 65
64 // Gets the AutofillWebDataService instance associated with the delegate. 66 // Gets the AutofillWebDataService instance associated with the delegate.
65 virtual scoped_refptr<AutofillWebDataService> GetDatabase() = 0; 67 virtual scoped_refptr<AutofillWebDataService> GetDatabase() = 0;
66 68
67 // Gets the preferences associated with the delegate. 69 // Gets the preferences associated with the delegate.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // Inform the delegate that the field has been filled. 118 // Inform the delegate that the field has been filled.
117 virtual void DidFillOrPreviewField( 119 virtual void DidFillOrPreviewField(
118 const base::string16& autofilled_value, 120 const base::string16& autofilled_value,
119 const base::string16& profile_full_name) = 0; 121 const base::string16& profile_full_name) = 0;
120 122
121 }; 123 };
122 124
123 } // namespace autofill 125 } // namespace autofill
124 126
125 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_ 127 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | components/autofill/core/browser/autofill_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698