| Index: content/child/storage_util.h
|
| diff --git a/content/child/storage_util.h b/content/child/storage_util.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e6f51a90c084de019089cb8e5de1bef040ee0432
|
| --- /dev/null
|
| +++ b/content/child/storage_util.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 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 CONTENT_CHILD_STORAGE_UTIL_H_
|
| +#define CONTENT_CHILD_STORAGE_UTIL_H_
|
| +
|
| +class GURL;
|
| +
|
| +namespace blink {
|
| +class WebSecurityOrigin;
|
| +} // namespace blink
|
| +
|
| +namespace content {
|
| +
|
| +// Storage APIs rely on GURLs to identify the origin, with some special cases.
|
| +// New uses of this function should be avoided; url::Origin should be used
|
| +// instead.
|
| +// TODO(jsbell): Eliminate this. https://crbug.com/591482
|
| +GURL WebSecurityOriginToGURL(const blink::WebSecurityOrigin& origin);
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_CHILD_STORAGE_UTIL_H_
|
|
|