1 // 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 #ifndef CONTENT_BROWSER_NETWORK_CONTEXT_CLIENT_BASE_IMPL_H_ 6 #define CONTENT_BROWSER_NETWORK_CONTEXT_CLIENT_BASE_IMPL_H_ 7 8 #include "services/network/public/mojom/network_context.mojom.h" 9 10 namespace content { 11 12 // Helper method that NetworkContext::OnFileUploadRequested need to use for 13 // their implementation. 14 void NetworkContextOnFileUploadRequested( 15 int32_t process_id, 16 bool async, 17 const std::vector<base::FilePath>& file_paths, 18 network::mojom::NetworkContextClient::OnFileUploadRequestedCallback 19 callback); 20 21 } // namespace content 22 23 #endif // CONTENT_BROWSER_NETWORK_CONTEXT_CLIENT_BASE_IMPL_H_ 24