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

Unified Diff: chrome/browser/chromeos/gdata/gdata_leveldb.h

Issue 10701118: gdata: Fix a bug in GDataLevelDB where errors are not handled right (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: chrome/browser/chromeos/gdata/gdata_leveldb.h
diff --git a/chrome/browser/chromeos/gdata/gdata_leveldb.h b/chrome/browser/chromeos/gdata/gdata_leveldb.h
index e2385cc454953d21898125507eb0dd26d0ebd6df..e19211371833110a121f6700d57896357959cf09 100644
--- a/chrome/browser/chromeos/gdata/gdata_leveldb.h
+++ b/chrome/browser/chromeos/gdata/gdata_leveldb.h
@@ -32,6 +32,9 @@ class GDataLevelDB : public GDataDB {
virtual Status GetByPath(const FilePath& path,
scoped_ptr<GDataEntry>* file) OVERRIDE;
virtual scoped_ptr<GDataDBIter> CreateIterator(const FilePath& path) OVERRIDE;
+ virtual Status PutRawForTesting(
+ const std::string& resource_id,
+ const google::protobuf::MessageLite& protobuf) OVERRIDE;
// Returns |resource_id| for |path| by looking up path_db_.
Status ResourceIdForPath(const FilePath& path, std::string* resource_id);

Powered by Google App Engine
This is Rietveld 408576698