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

Unified Diff: webkit/fileapi/media/picasa/pmp_constants.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/picasa/pmp_constants.h
diff --git a/webkit/fileapi/media/picasa/pmp_constants.h b/webkit/fileapi/media/picasa/pmp_constants.h
deleted file mode 100644
index 52013b311df0798178aa8940910cd379c253337b..0000000000000000000000000000000000000000
--- a/webkit/fileapi/media/picasa/pmp_constants.h
+++ /dev/null
@@ -1,46 +0,0 @@
-// Copyright 2013 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_PICASA_PMP_CONSTANTS_H_
-#define WEBKIT_FILEAPI_MEDIA_PICASA_PMP_CONSTANTS_H_
-
-#include <string>
-
-#include "base/basictypes.h"
-
-namespace picasaimport {
-
-// PMP file format.
-// Info derived from: http://sbktech.blogspot.com/2011/12/picasa-pmp-format.html
-
-const char* const kPmpExtension = "pmp";
-
-const size_t kPmpHeaderSize = 20;
-
-const int kPmpMagic1Offset = 0;
-const int kPmpMagic2Offset = 6;
-const int kPmpMagic3Offset = 8;
-const int kPmpMagic4Offset = 14;
-
-const uint32 kPmpMagic1 = 0x3fcccccd;
-const uint16 kPmpMagic2 = 0x1332;
-const uint32 kPmpMagic3 = 0x00000002;
-const uint16 kPmpMagic4 = 0x1332;
-
-const int kPmpFieldType1Offset = 4;
-const int kPmpFieldType2Offset = 12;
-const int kPmpRowCountOffset = 16;
-
-enum PmpFieldType {
- PMP_TYPE_STRING = 0x00,
- PMP_TYPE_UINT32 = 0x01,
- PMP_TYPE_DOUBLE64 = 0x02,
- PMP_TYPE_UINT8 = 0x03,
- PMP_TYPE_UINT64 = 0x04,
- PMP_TYPE_INVALID = 0xff
-};
-
-} // namespace picasaimport
-
-#endif // WEBKIT_FILEAPI_MEDIA_PICASA_PMP_CONSTANTS_H_
« no previous file with comments | « webkit/fileapi/media/picasa/pmp_column_reader_unittest.cc ('k') | webkit/fileapi/media/picasa/pmp_table_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698