Index: components/arc/file_system/arc_file_system_observer.h |
diff --git a/components/arc/file_system/arc_file_system_observer.h b/components/arc/file_system/arc_file_system_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e3718aa61f99a81368881e1aa325f14ce1c51c00 |
--- /dev/null |
+++ b/components/arc/file_system/arc_file_system_observer.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_ARC_FILE_SYSTEM_ARC_FILE_SYSTEM_OBSERVER_H_ |
+#define COMPONENTS_ARC_FILE_SYSTEM_ARC_FILE_SYSTEM_OBSERVER_H_ |
+ |
+namespace arc { |
+ |
+class ArcFileSystemObserver { |
+ public: |
+ virtual ~ArcFileSystemObserver() = default; |
+ |
+ // Called when ARC file systems are ready. |
+ virtual void OnFileSystemsReady() = 0; |
+ |
+ // Called when ARC file systems are closed. |
+ virtual void OnFileSystemsClosed() = 0; |
+}; |
+ |
+} // namespace arc |
+ |
+#endif // COMPONENTS_ARC_FILE_SYSTEM_ARC_FILE_SYSTEM_OBSERVER_H_ |