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

Unified Diff: components/leveldb_proto/leveldb_database.h

Issue 545193008: Use base::StringPairs where appropriate from /components (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: components/leveldb_proto/leveldb_database.h
diff --git a/components/leveldb_proto/leveldb_database.h b/components/leveldb_proto/leveldb_database.h
index 16d3c304ccdcc13eea2be740b7bb7c2253362f9b..187a687015e42781aa64700614f88af44c211fe3 100644
--- a/components/leveldb_proto/leveldb_database.h
+++ b/components/leveldb_proto/leveldb_database.h
@@ -10,6 +10,7 @@
#include "base/files/file_path.h"
#include "base/memory/scoped_ptr.h"
+#include "base/strings/string_split.h"
#include "base/threading/thread_collision_warner.h"
namespace leveldb {
@@ -27,9 +28,8 @@ class LevelDB {
virtual ~LevelDB();
virtual bool Init(const base::FilePath& database_dir);
- virtual bool Save(
- const std::vector<std::pair<std::string, std::string> >& pairs_to_save,
- const std::vector<std::string>& keys_to_remove);
+ virtual bool Save(const base::StringPairs& pairs_to_save,
+ const std::vector<std::string>& keys_to_remove);
virtual bool Load(std::vector<std::string>* entries);
private:
« no previous file with comments | « components/autofill/content/browser/wallet/wallet_client_unittest.cc ('k') | components/leveldb_proto/leveldb_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698