Index: chrome/browser/chromeos/gdata/gdata_db.h |
diff --git a/chrome/browser/chromeos/gdata/gdata_db.h b/chrome/browser/chromeos/gdata/gdata_db.h |
index 67d1e58115fae00a0f9fa8d881dee72949560e80..a5dd1d93b7a27b42d7c0f79e628cb7c681f1e6c7 100644 |
--- a/chrome/browser/chromeos/gdata/gdata_db.h |
+++ b/chrome/browser/chromeos/gdata/gdata_db.h |
@@ -47,6 +47,11 @@ class GDataDB { |
// Will not return NULL. |
virtual scoped_ptr<GDataDBIter> CreateIterator(const FilePath& path) = 0; |
+ // Puts |raw_value| keyed with |resource_id| to the database. |
+ // Used for testing (ex. injecting incompatible proto). |
+ virtual Status PutRawForTesting(const std::string& resource_id, |
+ const std::string& raw_value) = 0; |
+ |
protected: |
GDataDB() {} |
}; |