diff options
author | mathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-18 16:22:30 +0000 |
---|---|---|
committer | mathp@chromium.org <mathp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-18 16:22:30 +0000 |
commit | 2b894b8dae83b4bada9199713504aeb52cdfc8ed (patch) | |
tree | f527ed157c42675be946635c08a81288863b4ef5 /components/components.gyp | |
parent | ab4f95a66b2e01a329562d2f7a2b4445b0e4ee47 (diff) | |
download | chromium_src-2b894b8dae83b4bada9199713504aeb52cdfc8ed.zip chromium_src-2b894b8dae83b4bada9199713504aeb52cdfc8ed.tar.gz chromium_src-2b894b8dae83b4bada9199713504aeb52cdfc8ed.tar.bz2 |
Extract protobuf database into a new 'leveldb_proto' component
Code extracted from components/dom_distiller/core/dom_distiller_database.*
Slight API change: callers to UpdateEntries now have to pass a vector of (string, proto) as key and value, instead of just a vector of protos where key is derived.
Ran clang-format on the files I touched so you may see some diffs.
Note: Implementations are in proto_database_impl.h and fake_db.h for proper linking.
BUG=385747
TBR=jochen,dgrogan
TEST=DomDistiller*,ProtoDatabaseImplTest
Review URL: https://codereview.chromium.org/330833002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/components.gyp')
-rw-r--r-- | components/components.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/components.gyp b/components/components.gyp index 0430bfa..b0ee53c 100644 --- a/components/components.gyp +++ b/components/components.gyp @@ -30,6 +30,7 @@ 'json_schema.gypi', 'keyed_service.gypi', 'language_usage_metrics.gypi', + 'leveldb_proto.gypi', 'metrics.gypi', 'navigation_metrics.gypi', 'network_time.gypi', |