Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Side by Side Diff: content/child/storage_util.h

Issue 1810193002: Fix effective Origin URLs for IDB + Cache for file:/// pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Factor out origin->GURL conversion helper Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/child/indexed_db/webidbfactory_impl.cc ('k') | content/child/storage_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 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
5 #ifndef CONTENT_CHILD_STORAGE_UTIL_H_
6 #define CONTENT_CHILD_STORAGE_UTIL_H_
7
8 class GURL;
9
10 namespace blink {
11 class WebSecurityOrigin;
12 } // namespace blink
13
14 namespace content {
15
16 // Storage APIs rely on GURLs to identify the origin, with some special cases.
17 // New uses of this function should be avoided; url::Origin should be used
18 // instead.
19 // TODO(jsbell): Eliminate this. https://crbug.com/591482
20 GURL WebSecurityOriginToGURL(const blink::WebSecurityOrigin& origin);
21
22 } // namespace content
23
24 #endif // CONTENT_CHILD_STORAGE_UTIL_H_
OLDNEW
« no previous file with comments | « content/child/indexed_db/webidbfactory_impl.cc ('k') | content/child/storage_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698