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

Side by Side Diff: chrome/browser/autofill/autofill_manager.h

Issue 11867025: Download autocheckout whitelist and enable autocheckout for whitelisted sites only. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert code change for manual testing/:wq. Created 7 years, 11 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 118
119 AutofillManager(content::WebContents* web_contents, 119 AutofillManager(content::WebContents* web_contents,
120 autofill::AutofillManagerDelegate* delegate); 120 autofill::AutofillManagerDelegate* delegate);
121 virtual ~AutofillManager(); 121 virtual ~AutofillManager();
122 122
123 // Test code should prefer to use this constructor. 123 // Test code should prefer to use this constructor.
124 AutofillManager(content::WebContents* web_contents, 124 AutofillManager(content::WebContents* web_contents,
125 autofill::AutofillManagerDelegate* delegate, 125 autofill::AutofillManagerDelegate* delegate,
126 PersonalDataManager* personal_data); 126 PersonalDataManager* personal_data);
127 127
128 // Returns true when the current tab's url is whitelisted for autocheckout.
129 bool IsAutocheckoutEnabled() const;
Ilya Sherman 2013/01/24 22:01:55 nit: Can this have private rather than protected v
130
128 // Returns the value of the AutofillEnabled pref. 131 // Returns the value of the AutofillEnabled pref.
129 virtual bool IsAutofillEnabled() const; 132 virtual bool IsAutofillEnabled() const;
130 133
131 // Uploads the form data to the Autofill server. 134 // Uploads the form data to the Autofill server.
132 virtual void UploadFormData(const FormStructure& submitted_form); 135 virtual void UploadFormData(const FormStructure& submitted_form);
133 136
134 // Reset cache. 137 // Reset cache.
135 void Reset(); 138 void Reset();
136 139
137 // Informs the renderer of the current password generation state. This is a 140 // Informs the renderer of the current password generation state. This is a
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest, 410 FRIEND_TEST_ALL_PREFIXES(AutofillManagerTest,
408 TestTabContentsWithExternalDelegate); 411 TestTabContentsWithExternalDelegate);
409 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, 412 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest,
410 UserHappinessFormLoadAndSubmission); 413 UserHappinessFormLoadAndSubmission);
411 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction); 414 FRIEND_TEST_ALL_PREFIXES(AutofillMetricsTest, UserHappinessFormInteraction);
412 415
413 DISALLOW_COPY_AND_ASSIGN(AutofillManager); 416 DISALLOW_COPY_AND_ASSIGN(AutofillManager);
414 }; 417 };
415 418
416 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_ 419 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698