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

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: polish indentation 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..1deb92a781738e1ac127e5eb09038fd3a3a8c599 100644
--- a/chrome/browser/chromeos/gdata/gdata_leveldb.h
+++ b/chrome/browser/chromeos/gdata/gdata_leveldb.h
@@ -32,6 +32,8 @@ 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 std::string& raw_value) 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