| Index: Source/modules/serviceworkers/HeaderMapForEachCallback.h
|
| diff --git a/Source/modules/serviceworkers/HeaderMapForEachCallback.h b/Source/modules/serviceworkers/HeaderMapForEachCallback.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f73fdf1c02c1d26abd73c36d4edc71cf990fd944
|
| --- /dev/null
|
| +++ b/Source/modules/serviceworkers/HeaderMapForEachCallback.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef HeaderMapForEachCallback_h
|
| +#define HeaderMapForEachCallback_h
|
| +
|
| +#include "bindings/core/v8/ScriptValue.h"
|
| +
|
| +namespace WebCore {
|
| +
|
| +class HeaderMap;
|
| +
|
| +class HeaderMapForEachCallback {
|
| +public:
|
| + virtual ~HeaderMapForEachCallback() { }
|
| + virtual bool handleItem(ScriptValue thisValue, const String& value, const String& key, HeaderMap*) = 0;
|
| + virtual bool handleItem(const String& value, const String& key, HeaderMap*) = 0;
|
| +};
|
| +
|
| +} // namespace WebCore
|
| +
|
| +#endif // HeaderMapForEachCallback_h
|
|
|