Index: sync/internal_api/public/test/test_internal_components_factory.h |
diff --git a/sync/internal_api/public/test/test_internal_components_factory.h b/sync/internal_api/public/test/test_internal_components_factory.h |
index 37554472306c576f64c6415e427264bb5cdaec51..a620b23ca9480df14e632c9a64cea4a597211ea0 100644 |
--- a/sync/internal_api/public/test/test_internal_components_factory.h |
+++ b/sync/internal_api/public/test/test_internal_components_factory.h |
@@ -9,16 +9,18 @@ |
namespace syncer { |
+enum StorageOption { |
+ // BuildDirectoryBackingStore should not use persistent on-disk storage. |
+ STORAGE_IN_MEMORY, |
+ // Use this if you want BuildDirectoryBackingStore to create a real |
+ // on disk store. |
+ STORAGE_ON_DISK, |
+ // Use this to test the case where a directory fails to load. |
+ STORAGE_INVALID |
+}; |
+ |
class TestInternalComponentsFactory : public InternalComponentsFactory { |
public: |
- enum StorageOption { |
- // BuildDirectoryBackingStore should not use persistent on-disk storage. |
- IN_MEMORY, |
- // Use this if you want BuildDirectoryBackingStore to create a real |
- // on disk store. |
- ON_DISK |
- }; |
- |
explicit TestInternalComponentsFactory(StorageOption option); |
virtual ~TestInternalComponentsFactory(); |