1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
21 WebBlobInfo(const WebString
& uuid
, const WebString
& type
, long long size
)
29 WebBlobInfo(const WebString
& uuid
, const WebString
& filePath
, const WebString
& fileName
, const WebString
& type
)
34 , m_filePath(filePath
)
35 , m_fileName(fileName
)
39 WebBlobInfo(const WebString
& uuid
, const WebString
& filePath
, const WebString
& fileName
, const WebString
& type
, double lastModified
, long long size
)
44 , m_filePath(filePath
)
45 , m_fileName(fileName
)
46 , m_lastModified(lastModified
)
53 const WebString
& uuid() const
57 const WebString
& type() const
61 long long size() const
65 const WebString
& filePath() const
69 const WebString
& fileName() const
73 double lastModified() const
75 return m_lastModified
;
81 WebString m_type
; // MIME type
83 WebString m_filePath
; // Only for File
84 WebString m_fileName
; // Only for File
85 double m_lastModified
; // Only for File