blob: 1a362747485526e6f4b24c7c0c5aadedd63e0bcc [file] [log] [blame]
// Copyright 2019 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.
#include "extensions/renderer/script_context_set_iterable.h"
namespace extensions {
void ScriptContextSetIterable::ForEach(
content::RenderFrame* render_frame,
const base::RepeatingCallback<void(ScriptContext*)>& callback) {
ForEach(std::string(), render_frame, callback);
}
void ScriptContextSetIterable::ForEach(
const std::string& extension_id,
const base::RepeatingCallback<void(ScriptContext*)>& callback) {
ForEach(extension_id, nullptr, callback);
}
} // namespace extensions