blob: 1a362747485526e6f4b24c7c0c5aadedd63e0bcc [file] [log] [blame]
Istiaque Ahmedee72f4952019-03-06 21:18:361// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "extensions/renderer/script_context_set_iterable.h"
6
7namespace extensions {
8
9void ScriptContextSetIterable::ForEach(
10 content::RenderFrame* render_frame,
11 const base::RepeatingCallback<void(ScriptContext*)>& callback) {
12 ForEach(std::string(), render_frame, callback);
13}
14
15void ScriptContextSetIterable::ForEach(
16 const std::string& extension_id,
17 const base::RepeatingCallback<void(ScriptContext*)>& callback) {
18 ForEach(extension_id, nullptr, callback);
19}
20
21} // namespace extensions