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

Unified Diff: chrome/browser/media_galleries/fileapi/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: chrome/browser/media_galleries/fileapi/media_path_filter.h
diff --git a/webkit/fileapi/media/media_path_filter.h b/chrome/browser/media_galleries/fileapi/media_path_filter.h
similarity index 72%
rename from webkit/fileapi/media/media_path_filter.h
rename to chrome/browser/media_galleries/fileapi/media_path_filter.h
index c36a4fb726d9a0192ef822bf24a13ef68537a509..c74d4d390a500b743b63f4b8d2c7c63b751c2dcc 100644
--- a/webkit/fileapi/media/media_path_filter.h
+++ b/chrome/browser/media_galleries/fileapi/media_path_filter.h
@@ -2,24 +2,23 @@
// 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_
+#ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_PATH_FILTER_H_
+#define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_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 {
+namespace chrome {
// This class holds the list of file path extensions that we should expose on
// media filesystem.
-class WEBKIT_STORAGE_EXPORT MediaPathFilter {
+class MediaPathFilter {
public:
MediaPathFilter();
~MediaPathFilter();
@@ -37,6 +36,6 @@ class WEBKIT_STORAGE_EXPORT MediaPathFilter {
DISALLOW_COPY_AND_ASSIGN(MediaPathFilter);
};
-} // namespace fileapi
+} // namespace chrome
-#endif // WEBKIT_FILEAPI_MEDIA_MEDIA_PATH_FILTER_H_
+#endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_PATH_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698