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

Unified Diff: chrome/browser/media_galleries/media_scan_types.h

Issue 149363004: Media Galleries: Initial media scanner implementation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: with test Created 6 years, 11 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/media_scan_types.h
===================================================================
--- chrome/browser/media_galleries/media_scan_types.h (revision 0)
+++ chrome/browser/media_galleries/media_scan_types.h (revision 0)
@@ -0,0 +1,23 @@
+// Copyright 2014 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_GALLERIES_MEDIA_SCAN_TYPES_H_
+#define CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_TYPES_H_
+
+struct MediaGalleryScanResult {
+ int image_count;
+ int audio_count;
+ int video_count;
+};
+
+enum MediaGalleryScanFileType {
+ MEDIA_GALLERY_SCAN_FILE_TYPE_UNKNOWN = 0,
+ MEDIA_GALLERY_SCAN_FILE_TYPE_IMAGE = 1 << 0,
+ MEDIA_GALLERY_SCAN_FILE_TYPE_AUDIO = 1 << 1,
+ MEDIA_GALLERY_SCAN_FILE_TYPE_VIDEO = 1 << 2,
+};
+
+bool IsEmptyScanResult(const MediaGalleryScanResult& scan_result);
+
+#endif // CHROME_BROWSER_MEDIA_GALLERIES_MEDIA_SCAN_TYPES_H_
Property changes on: chrome/browser/media_galleries/media_scan_types.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/media_galleries/media_folder_finder_unittest.cc ('k') | chrome/browser/media_galleries/media_scan_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698