Chromium Code Reviews| Index: chrome/browser/chromeos/gdata/gdata_cache.h |
| diff --git a/chrome/browser/chromeos/gdata/gdata_cache.h b/chrome/browser/chromeos/gdata/gdata_cache.h |
| index c9eb8d449ae7550f6c7c71d32de2868a053ba45a..6bbdaa6f7c707f456813e5f2c5576938099197a1 100644 |
| --- a/chrome/browser/chromeos/gdata/gdata_cache.h |
| +++ b/chrome/browser/chromeos/gdata/gdata_cache.h |
| @@ -272,6 +272,9 @@ class GDataCache { |
| // Utility method to call Initialize on UI thread. |
| void RequestInitializeOnUIThread(); |
| + // Utility method to call InitializeForTesting on UI thread. |
| + void RequestInitializeOnUIThreadForTesting(); |
| + |
| // Force a rescan of cache files, for testing. |
| void ForceRescanOnUIThreadForTesting(); |
| @@ -329,6 +332,9 @@ class GDataCache { |
| // Initializes the cache. |
| void Initialize(); |
| + // Initializes the cache with in-memory cache for testing. |
|
achuithb
2012/08/08 05:07:31
nit: maybe add a comment saying that the in-memory
Haruki Sato
2012/08/08 05:57:38
Done. Thanks.
|
| + void InitializeForTesting(); |
| + |
| // Deletes the cache. |
| void Destroy(); |