file_name.h 457 B

1234567891011121314151617
  1. // Copyright 2021 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. #ifndef PDF_UI_FILE_NAME_H_
  5. #define PDF_UI_FILE_NAME_H_
  6. #include <string>
  7. namespace chrome_pdf {
  8. // Creates a file name for saving a PDF file, given the source URL.
  9. std::string GetFileNameForSaveFromUrl(const std::string& url);
  10. } // namespace chrome_pdf
  11. #endif // PDF_UI_FILE_NAME_H_