Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: webkit/fileapi/media/media_path_filter.h

Issue 14247034: Move Media Galleries FileAPI code out of webkit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cr-14352004
Patch Set: Add android ifdef. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/fileapi/media/media_path_filter.h
diff --git a/webkit/fileapi/media/media_path_filter.h b/webkit/fileapi/media/media_path_filter.h
deleted file mode 100644
index c36a4fb726d9a0192ef822bf24a13ef68537a509..0000000000000000000000000000000000000000
--- a/webkit/fileapi/media/media_path_filter.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// 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 WEBKIT_FILEAPI_MEDIA_MEDIA_PATH_FILTER_H_
-#define WEBKIT_FILEAPI_MEDIA_MEDIA_PATH_FILTER_H_
-
-#include <vector>
-
-#include "base/files/file_path.h"
-#include "base/synchronization/lock.h"
-#include "webkit/storage/webkit_storage_export.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace fileapi {
-
-// This class holds the list of file path extensions that we should expose on
-// media filesystem.
-class WEBKIT_STORAGE_EXPORT MediaPathFilter {
- public:
- MediaPathFilter();
- ~MediaPathFilter();
- bool Match(const base::FilePath& path);
-
- private:
- typedef std::vector<base::FilePath::StringType> MediaFileExtensionList;
-
- void EnsureInitialized();
-
- bool initialized_;
- base::Lock initialization_lock_;
- MediaFileExtensionList media_file_extensions_;
-
- DISALLOW_COPY_AND_ASSIGN(MediaPathFilter);
-};
-
-} // namespace fileapi
-
-#endif // WEBKIT_FILEAPI_MEDIA_MEDIA_PATH_FILTER_H_
« no previous file with comments | « webkit/fileapi/media/media_file_system_mount_point_provider.cc ('k') | webkit/fileapi/media/media_path_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698