[rac] Parse sub-keys in validation rules of libaddressinput.
commited98333cfc22adfd3f07b0d2b08123090e9325aa
authorrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 14 Dec 2013 01:32:12 +0000 (14 01:32 +0000)
committerrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sat, 14 Dec 2013 01:32:12 +0000 (14 01:32 +0000)
tree6b303ada8628047df8fd1c5ebaa9d9a4d619da48
parentd260f04ba71eeb40e9563358352cbab0d6e86efd
[rac] Parse sub-keys in validation rules of libaddressinput.

This patch parses the "sub_keys" field in the validation rules downloaded
from the server. This field will be used to identify the valid state
abbreviates in US, for example.

BUG=327046

Review URL: https://codereview.chromium.org/107863003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240837 0039d316-1c4b-4281-b951-d872f2087c98
third_party/libaddressinput/chromium/cpp/src/rule.cc
third_party/libaddressinput/chromium/cpp/src/rule.h
third_party/libaddressinput/chromium/cpp/test/rule_test.cc