url_converter.h 514 B

12345678910111213141516171819
  1. // Copyright 2020 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 COMPONENTS_DATABASE_UTILS_URL_CONVERTER_H_
  5. #define COMPONENTS_DATABASE_UTILS_URL_CONVERTER_H_
  6. #include <string>
  7. class GURL;
  8. namespace database_utils {
  9. // Converts a GURL to a string used in databases.
  10. std::string GurlToDatabaseUrl(const GURL& url);
  11. } // namespace database_utils
  12. #endif // COMPONENTS_DATABASE_UTILS_URL_CONVERTER_H_