| Index: ios/web/public/url_util.h
|
| diff --git a/ios/web/public/url_util.h b/ios/web/public/url_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..30b8d76d4a878a32a0a7dc8775aae7581b71c98b
|
| --- /dev/null
|
| +++ b/ios/web/public/url_util.h
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2013 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 IOS_WEB_PUBLIC_URL_UTIL_H_
|
| +#define IOS_WEB_PUBLIC_URL_UTIL_H_
|
| +
|
| +#include "url/gurl.h"
|
| +
|
| +namespace web {
|
| +
|
| +// Removes the # (if any) and everything following it from a URL.
|
| +GURL GURLByRemovingRefFromGURL(const GURL& full_url);
|
| +
|
| +} // namespace web
|
| +
|
| +#endif // IOS_WEB_PUBLIC_URL_UTIL_H_
|
|
|