| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Motorola Mobility Inc. | 3 * Copyright (C) 2012 Motorola Mobility Inc. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "core/platform/KURL.h" | 30 #include "core/platform/KURL.h" |
| 31 #include <wtf/HashSet.h> | 31 #include <wtf/HashSet.h> |
| 32 #include <wtf/PassRefPtr.h> | 32 #include <wtf/PassRefPtr.h> |
| 33 #include <wtf/RefCounted.h> | 33 #include <wtf/RefCounted.h> |
| 34 #include <wtf/text/WTFString.h> | 34 #include <wtf/text/WTFString.h> |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace WebCore { |
| 37 | 37 |
| 38 class Blob; | 38 class Blob; |
| 39 class MediaSource; | 39 class WebKitMediaSource; |
| 40 class MediaStream; | 40 class MediaStream; |
| 41 class ScriptExecutionContext; | 41 class ScriptExecutionContext; |
| 42 | 42 |
| 43 class DOMURL : public RefCounted<DOMURL> { | 43 class DOMURL : public RefCounted<DOMURL> { |
| 44 | 44 |
| 45 public: | 45 public: |
| 46 static PassRefPtr<DOMURL> create() { return adoptRef(new DOMURL); } | 46 static PassRefPtr<DOMURL> create() { return adoptRef(new DOMURL); } |
| 47 | 47 |
| 48 static void contextDestroyed(ScriptExecutionContext*); | 48 static void contextDestroyed(ScriptExecutionContext*); |
| 49 | 49 |
| 50 static String createObjectURL(ScriptExecutionContext*, Blob*); | 50 static String createObjectURL(ScriptExecutionContext*, Blob*); |
| 51 static void revokeObjectURL(ScriptExecutionContext*, const String&); | 51 static void revokeObjectURL(ScriptExecutionContext*, const String&); |
| 52 static String createObjectURL(ScriptExecutionContext*, MediaSource*); | 52 static String createObjectURL(ScriptExecutionContext*, WebKitMediaSource*); |
| 53 static String createObjectURL(ScriptExecutionContext*, MediaStream*); | 53 static String createObjectURL(ScriptExecutionContext*, MediaStream*); |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace WebCore | 56 } // namespace WebCore |
| 57 | 57 |
| 58 #endif // DOMURL_h | 58 #endif // DOMURL_h |
| OLD | NEW |