| // Copyright 2018 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 CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_POST_SHARE_TARGET_NAVIGATOR_H_ |
| #define CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_POST_SHARE_TARGET_NAVIGATOR_H_ |
| |
| #include <string> |
| #include "services/network/public/cpp/resource_request_body.h" |
| |
| namespace content { |
| class WebContents; |
| } |
| |
| class GURL; |
| |
| namespace webapk { |
| |
| // Navigate to share target gurl with |post_data| and |header_list|. |
| void NavigateShareTargetPost( |
| const scoped_refptr<network::ResourceRequestBody>& post_data, |
| const std::string& header_list, |
| const GURL& share_target_gurl, |
| content::WebContents* web_contents); |
| |
| } // namespace webapk |
| |
| #endif // CHROME_BROWSER_ANDROID_WEBAPK_WEBAPK_POST_SHARE_TARGET_NAVIGATOR_H_ |