| Index: Source/modules/mediastream/MediaDeviceInfoCallback.h
|
| diff --git a/Source/core/html/parser/HTMLParserOptions.h b/Source/modules/mediastream/MediaDeviceInfoCallback.h
|
| similarity index 78%
|
| copy from Source/core/html/parser/HTMLParserOptions.h
|
| copy to Source/modules/mediastream/MediaDeviceInfoCallback.h
|
| index 9a6f8e7de07e09522a4b261128b8f689a021486d..97d9d2175b0235a20cadccdf926513a22d710345 100644
|
| --- a/Source/core/html/parser/HTMLParserOptions.h
|
| +++ b/Source/modules/mediastream/MediaDeviceInfoCallback.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (C) 2013 Google, Inc. All Rights Reserved.
|
| + * Copyright (C) 2014 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,22 +23,19 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef HTMLParserOptions_h
|
| -#define HTMLParserOptions_h
|
| +#ifndef MediaDeviceInfoCallback_h
|
| +#define MediaDeviceInfoCallback_h
|
|
|
| -namespace WebCore {
|
| +#include "modules/mediastream/MediaDeviceInfo.h"
|
|
|
| -class Document;
|
| +namespace WebCore {
|
|
|
| -class HTMLParserOptions {
|
| +class MediaDeviceInfoCallback {
|
| public:
|
| - bool scriptEnabled;
|
| - bool pluginsEnabled;
|
| - bool useThreading;
|
| -
|
| - explicit HTMLParserOptions(Document* = 0);
|
| + virtual ~MediaDeviceInfoCallback() { }
|
| + virtual void handleEvent(const MediaDeviceInfoVector&) = 0;
|
| };
|
|
|
| -}
|
| +} // namespace WebCore
|
|
|
| -#endif
|
| +#endif // MediaDeviceInfoCallback_h
|
|
|