blob: 7f1d70ea0100e07d2e3ef751fda1a199a1d678f5 [file] [log] [blame]
// 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 HeadersForEachCallback_h
#define HeadersForEachCallback_h
#include "bindings/core/v8/ScriptValue.h"
namespace blink {
class Headers;
class HeadersForEachCallback {
public:
virtual ~HeadersForEachCallback() { }
virtual bool handleItem(ScriptValue thisValue, const String& value, const String& key, Headers*) = 0;
virtual bool handleItem(const String& value, const String& key, Headers*) = 0;
};
} // namespace blink
#endif // HeadersForEachCallback_h