Index: chrome/browser/media_gallery/media_galleries_test_util.h |
diff --git a/chrome/browser/media_gallery/media_galleries_test_util.h b/chrome/browser/media_gallery/media_galleries_test_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f2063eee2425bccccce125385a27b13f99c96c3c |
--- /dev/null |
+++ b/chrome/browser/media_gallery/media_galleries_test_util.h |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2012 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 CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_TEST_UTIL_H_ |
+#define CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_TEST_UTIL_H_ |
+ |
+#include "base/basictypes.h" |
+#include "base/scoped_temp_dir.h" |
+ |
+class EnsureMediaDirectoriesExists { |
+ public: |
+ EnsureMediaDirectoriesExists(); |
+ |
+ int num_galleries() const { return num_galleries_; } |
+ |
+ private: |
+ void Init(); |
+ |
+ ScopedTempDir fake_dir_; |
+ |
+ int num_galleries_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(EnsureMediaDirectoriesExists); |
+}; |
+ |
+#endif // CHROME_BROWSER_MEDIA_GALLERY_MEDIA_GALLERIES_TEST_UTIL_H_ |