// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/public/browser/web_contents.h" #include #include "content/public/common/child_process_host.h" #include "ipc/ipc_message.h" namespace content { WebContents::CreateParams::CreateParams(BrowserContext* context, base::Location creator_location) : CreateParams(context, nullptr, creator_location) {} WebContents::CreateParams::CreateParams(BrowserContext* context, scoped_refptr site, base::Location creator_location) : browser_context(context), site_instance(std::move(site)), creator_location(creator_location) {} WebContents::CreateParams::CreateParams(const CreateParams& other) = default; WebContents::CreateParams::~CreateParams() = default; } // namespace content