summaryrefslogtreecommitdiff
path: root/chromium/components/database_utils/url_converter.h
blob: 4115e9669b52f8725cc9835b821057b76fcb96ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_DATABASE_UTILS_URL_CONVERTER_H_
#define COMPONENTS_DATABASE_UTILS_URL_CONVERTER_H_

#include <string>

class GURL;

namespace database_utils {

// Converts a GURL to a string used in databases.
std::string GurlToDatabaseUrl(const GURL& url);

}  // namespace database_utils

#endif  // COMPONENTS_DATABASE_UTILS_URL_CONVERTER_H_