| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 #if ENABLE(BLOB) | 48 #if ENABLE(BLOB) |
| 49 static void contextDestroyed(ScriptExecutionContext*); | 49 static void contextDestroyed(ScriptExecutionContext*); |
| 50 | 50 |
| 51 static String createObjectURL(ScriptExecutionContext*, Blob*); | 51 static String createObjectURL(ScriptExecutionContext*, Blob*); |
| 52 static void revokeObjectURL(ScriptExecutionContext*, const String&); | 52 static void revokeObjectURL(ScriptExecutionContext*, const String&); |
| 53 #if ENABLE(MEDIA_SOURCE) | |
| 54 static String createObjectURL(ScriptExecutionContext*, MediaSource*); | 53 static String createObjectURL(ScriptExecutionContext*, MediaSource*); |
| 55 #endif | |
| 56 #if ENABLE(MEDIA_STREAM) | 54 #if ENABLE(MEDIA_STREAM) |
| 57 static String createObjectURL(ScriptExecutionContext*, MediaStream*); | 55 static String createObjectURL(ScriptExecutionContext*, MediaStream*); |
| 58 #endif | 56 #endif |
| 59 #endif | 57 #endif |
| 60 }; | 58 }; |
| 61 | 59 |
| 62 } // namespace WebCore | 60 } // namespace WebCore |
| 63 | 61 |
| 64 #endif // DOMURL_h | 62 #endif // DOMURL_h |
| OLD | NEW |