Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: Source/modules/serviceworkers/HeadersForEachCallback.h

Issue 358573002: [ServiceWorker] Implement Headers class. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/modules/serviceworkers/Headers.idl ('k') | Source/modules/serviceworkers/HeadersForEachCallback.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/HeadersForEachCallback.h
diff --git a/Source/modules/serviceworkers/HeaderMapForEachCallback.h b/Source/modules/serviceworkers/HeadersForEachCallback.h
similarity index 59%
copy from Source/modules/serviceworkers/HeaderMapForEachCallback.h
copy to Source/modules/serviceworkers/HeadersForEachCallback.h
index 7991c2376fe34b46bbb6373e8833e648f5785926..92fb4a88ba515dccaa679d1c838a7daffbfe6452 100644
--- a/Source/modules/serviceworkers/HeaderMapForEachCallback.h
+++ b/Source/modules/serviceworkers/HeadersForEachCallback.h
@@ -2,22 +2,22 @@
// 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
+#ifndef HeadersForEachCallback_h
+#define HeadersForEachCallback_h
#include "bindings/v8/ScriptValue.h"
namespace WebCore {
-class HeaderMap;
+class Headers;
-class HeaderMapForEachCallback {
+class HeadersForEachCallback {
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;
+ 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 WebCore
-#endif // HeaderMapForEachCallback_h
+#endif // HeadersForEachCallback_h
« no previous file with comments | « Source/modules/serviceworkers/Headers.idl ('k') | Source/modules/serviceworkers/HeadersForEachCallback.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698