OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 20 matching lines...) Expand all Loading... |
31 #ifndef BlobData_h | 31 #ifndef BlobData_h |
32 #define BlobData_h | 32 #define BlobData_h |
33 | 33 |
34 #include "platform/FileMetadata.h" | 34 #include "platform/FileMetadata.h" |
35 #include "platform/weborigin/KURL.h" | 35 #include "platform/weborigin/KURL.h" |
36 #include "wtf/Forward.h" | 36 #include "wtf/Forward.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/PassOwnPtr.h" |
38 #include "wtf/ThreadSafeRefCounted.h" | 38 #include "wtf/ThreadSafeRefCounted.h" |
39 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
40 | 40 |
41 namespace WebCore { | 41 namespace blink { |
42 | 42 |
43 class BlobDataHandle; | 43 class BlobDataHandle; |
44 | 44 |
45 class PLATFORM_EXPORT RawData : public ThreadSafeRefCounted<RawData> { | 45 class PLATFORM_EXPORT RawData : public ThreadSafeRefCounted<RawData> { |
46 public: | 46 public: |
47 static PassRefPtr<RawData> create() | 47 static PassRefPtr<RawData> create() |
48 { | 48 { |
49 return adoptRef(new RawData()); | 49 return adoptRef(new RawData()); |
50 } | 50 } |
51 | 51 |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 private: | 225 private: |
226 BlobDataHandle(); | 226 BlobDataHandle(); |
227 BlobDataHandle(PassOwnPtr<BlobData>, long long size); | 227 BlobDataHandle(PassOwnPtr<BlobData>, long long size); |
228 BlobDataHandle(const String& uuid, const String& type, long long size); | 228 BlobDataHandle(const String& uuid, const String& type, long long size); |
229 | 229 |
230 const String m_uuid; | 230 const String m_uuid; |
231 const String m_type; | 231 const String m_type; |
232 const long long m_size; | 232 const long long m_size; |
233 }; | 233 }; |
234 | 234 |
235 } // namespace WebCore | 235 } // namespace blink |
236 | 236 |
237 #endif // BlobData_h | 237 #endif // BlobData_h |
OLD | NEW |