Chromium Code Reviews| Index: content/browser/media_gallery/media_gallery_types.h |
| diff --git a/content/browser/media_gallery/media_gallery_types.h b/content/browser/media_gallery/media_gallery_types.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6129fd07b0e8efb9bfefeaae55b3bd4629e45dbe |
| --- /dev/null |
| +++ b/content/browser/media_gallery/media_gallery_types.h |
| @@ -0,0 +1,38 @@ |
| +// 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 CONTENT_BROWSER_MEDIA_GALLERY_MEDIA_GALLERY_TYPES_H_ |
|
vandebo (ex-Chrome)
2012/03/07 23:28:31
May want to make the name more DB specific - There
tpayne
2012/03/08 00:04:50
Done.
|
| +#define CONTENT_BROWSER_MEDIA_GALLERY_MEDIA_GALLERY_TYPES_H_ |
| + |
| +#include "base/basictypes.h" |
| +#include "base/file_path.h" |
| +#include "base/time.h" |
| + |
| +namespace media_gallery { |
| + |
| +typedef int CollectionId; |
| + |
| +struct CollectionRow { |
| + public: |
| + CollectionRow(); |
| + CollectionRow(FilePath path, |
| + base::Time last_modified_time, |
| + int entry_count, |
| + bool all_parsed); |
| + ~CollectionRow(); |
| + bool operator==(const CollectionRow& row2) const; |
| + |
| + CollectionId id; |
| + FilePath path; |
| + base::Time last_modified_time; |
| + int entry_count; |
| + bool all_parsed; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(CollectionRow); |
| +}; |
| + |
| +} // namespace media_gallery |
| + |
| +#endif // CONTENT_BROWSER_MEDIA_GALLERY_MEDIA_GALLERY_TYPES_H_ |