diff options
author | georgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 22:01:20 +0000 |
---|---|---|
committer | georgey@chromium.org <georgey@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-02 22:01:20 +0000 |
commit | db16347063a2217641ddd992f1f029af24362a59 (patch) | |
tree | 9e74d716e342052d9c1989f13e110935d9a98763 /chrome/common | |
parent | 4af869aded61930f3085f28548a89daf4ab2ef0f (diff) | |
download | chromium_src-db16347063a2217641ddd992f1f029af24362a59.zip chromium_src-db16347063a2217641ddd992f1f029af24362a59.tar.gz chromium_src-db16347063a2217641ddd992f1f029af24362a59.tar.bz2 |
Behaving nice with AutoFill servers: Adjusting upload rate, processing 500, 502 and 503 responses, etc.
TEST=Unit-tested + by setting up the response from AutoFill server.
BUG=39921
Review URL: http://codereview.chromium.org/1535011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43531 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 6 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 8ae28c7..d1cb8b7 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -352,6 +352,12 @@ const wchar_t kAutoFillDefaultProfile[] = L"autofill.default_profile"; // The label of the default AutoFill credit card. const wchar_t kAutoFillDefaultCreditCard[] = L"autofill.default_creditcard"; +// Double that indicates positive (for matched forms) upload rate. +const wchar_t kAutoFillPositiveUploadRate[] = L"autofill.positive_upload_rate"; + +// Double that indicates negative (for not matched forms) upload rate. +const wchar_t kAutoFillNegativeUploadRate[] = L"autofill.negative_upload_rate"; + // Dictionary that maps providers to lists of filter rules. const wchar_t kPrivacyFilterRules[] = L"profile.privacy_filter_rules"; diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index d1ea830..44323e6 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -134,6 +134,9 @@ extern const wchar_t kAutoFillAuxiliaryProfilesEnabled[]; extern const wchar_t kAutoFillDialogPlacement[]; extern const wchar_t kAutoFillDefaultProfile[]; extern const wchar_t kAutoFillDefaultCreditCard[]; +extern const wchar_t kAutoFillPositiveUploadRate[]; +extern const wchar_t kAutoFillNegativeUploadRate[]; + extern const wchar_t kPrivacyFilterRules[]; extern const wchar_t kUseVerticalTabs[]; extern const wchar_t kEnableTranslate[]; |