| 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 Blob_h | 31 #ifndef Blob_h |
| 32 #define Blob_h | 32 #define Blob_h |
| 33 | 33 |
| 34 #include "bindings/v8/ScriptWrappable.h" | 34 #include "bindings/v8/ScriptWrappable.h" |
| 35 #include "core/html/URLRegistry.h" | 35 #include "core/html/URLRegistry.h" |
| 36 #include "core/platform/network/BlobData.h" | 36 #include "core/platform/network/BlobData.h" |
| 37 #include "weborigin/KURL.h" | 37 #include "weborigin/KURL.h" |
| 38 #include "wtf/PassOwnPtr.h" | 38 #include "wtf/PassOwnPtr.h" |
| 39 #include "wtf/PassRefPtr.h" | 39 #include "wtf/PassRefPtr.h" |
| 40 #include "wtf/RefCounted.h" | 40 #include "wtf/RefCounted.h" |
| 41 #include "wtf/Vector.h" | |
| 42 #include "wtf/text/WTFString.h" | 41 #include "wtf/text/WTFString.h" |
| 43 | 42 |
| 44 namespace WebCore { | 43 namespace WebCore { |
| 45 | 44 |
| 46 class ScriptExecutionContext; | 45 class ScriptExecutionContext; |
| 47 | 46 |
| 48 class Blob : public ScriptWrappable, public URLRegistrable, public RefCounted<Bl
ob> { | 47 class Blob : public ScriptWrappable, public URLRegistrable, public RefCounted<Bl
ob> { |
| 49 public: | 48 public: |
| 50 static PassRefPtr<Blob> create() | 49 static PassRefPtr<Blob> create() |
| 51 { | 50 { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 // into an HTML or for FileRead'ing, public blob URLs must be used for those
purposes. | 87 // into an HTML or for FileRead'ing, public blob URLs must be used for those
purposes. |
| 89 KURL m_internalURL; | 88 KURL m_internalURL; |
| 90 | 89 |
| 91 String m_type; | 90 String m_type; |
| 92 long long m_size; | 91 long long m_size; |
| 93 }; | 92 }; |
| 94 | 93 |
| 95 } // namespace WebCore | 94 } // namespace WebCore |
| 96 | 95 |
| 97 #endif // Blob_h | 96 #endif // Blob_h |
| OLD | NEW |