| Index: sky/engine/core/inspector/InspectorFrontendChannel.h
|
| diff --git a/sky/engine/platform/MIMETypeFromURL.h b/sky/engine/core/inspector/InspectorFrontendChannel.h
|
| similarity index 77%
|
| copy from sky/engine/platform/MIMETypeFromURL.h
|
| copy to sky/engine/core/inspector/InspectorFrontendChannel.h
|
| index 52da262033c2df93446b4592c04ca8d56f4762ea..bd45f78bfbf808773c4b578fd7f100b15fda0e35 100644
|
| --- a/sky/engine/platform/MIMETypeFromURL.h
|
| +++ b/sky/engine/core/inspector/InspectorFrontendChannel.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2011, 2012 Apple Inc. All rights reserved.
|
| + * Copyright (C) 2011 Google Inc. All rights reserved.
|
| *
|
| * Redistribution and use in source and binary forms, with or without
|
| * modification, are permitted provided that the following conditions
|
| @@ -23,19 +23,21 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef MIMETypeFromURL_h
|
| -#define MIMETypeFromURL_h
|
| +#ifndef InspectorFrontendChannel_h
|
| +#define InspectorFrontendChannel_h
|
|
|
| -#include "platform/PlatformExport.h"
|
| +#include "platform/JSONValues.h"
|
| #include "wtf/Forward.h"
|
|
|
| namespace blink {
|
|
|
| -class KURL;
|
| -
|
| -PLATFORM_EXPORT String mimeTypeFromDataURL(const String& url);
|
| -PLATFORM_EXPORT String mimeTypeFromURL(const KURL&);
|
| +class InspectorFrontendChannel {
|
| +public:
|
| + virtual ~InspectorFrontendChannel() { }
|
| + virtual void sendMessageToFrontend(PassRefPtr<JSONObject> message) = 0;
|
| + virtual void flush() = 0;
|
| +};
|
|
|
| } // namespace blink
|
|
|
| -#endif // MIMETypeFromURL_h
|
| +#endif // !defined(InspectorFrontendChannel_h)
|
|
|