diff options
author | kulkarni.a <kulkarni.a@samsung.com> | 2014-09-30 01:54:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-09-30 08:55:55 +0000 |
commit | db60fc29b755f1cc3e7846497cb54222e3f391de (patch) | |
tree | 8ac79e5f16c40328a07e6ab154dc7ceafb4efa8d /components/leveldb_proto | |
parent | e372e4f4bbcb94a6ff427b337845ad452133e527 (diff) | |
download | chromium_src-db60fc29b755f1cc3e7846497cb54222e3f391de.zip chromium_src-db60fc29b755f1cc3e7846497cb54222e3f391de.tar.gz chromium_src-db60fc29b755f1cc3e7846497cb54222e3f391de.tar.bz2 |
Reusing the base::StringPairs in src/components/*
Reusing the "base::StringPairs" insted of "std::vector<std::pair<std::string, std::string> >"
same is defined in base/strings/string_split.h.
BUG=412250
Review URL: https://codereview.chromium.org/593113002
Cr-Commit-Position: refs/heads/master@{#297387}
Diffstat (limited to 'components/leveldb_proto')
-rw-r--r-- | components/leveldb_proto/proto_database_impl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/leveldb_proto/proto_database_impl.h b/components/leveldb_proto/proto_database_impl.h index 1b1c740..cfa9bd6 100644 --- a/components/leveldb_proto/proto_database_impl.h +++ b/components/leveldb_proto/proto_database_impl.h @@ -16,12 +16,13 @@ #include "base/strings/string_util.h" #include "base/threading/sequenced_worker_pool.h" #include "base/threading/thread_checker.h" +#include "base/strings/string_split.h" #include "components/leveldb_proto/leveldb_database.h" #include "components/leveldb_proto/proto_database.h" namespace leveldb_proto { -typedef std::vector<std::pair<std::string, std::string> > KeyValueVector; +typedef base::StringPairs KeyValueVector; typedef std::vector<std::string> KeyVector; // When the ProtoDatabaseImpl instance is deleted, in-progress asynchronous |