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

Unified Diff: third_party/WebKit/Source/platform/weborigin/URLSecurityOriginMap.h

Issue 2268973002: Rename SecurityOriginCache to URLSecurityOriginMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityOriginCache.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/weborigin/URLSecurityOriginMap.h
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOriginCache.h b/third_party/WebKit/Source/platform/weborigin/URLSecurityOriginMap.h
similarity index 83%
rename from third_party/WebKit/Source/platform/weborigin/SecurityOriginCache.h
rename to third_party/WebKit/Source/platform/weborigin/URLSecurityOriginMap.h
index 9be88041c0614bf2f960d28e357b99599b116617..09f2fad1dcfe037e3f91ce277bec8dbfa0aa67b4 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityOriginCache.h
+++ b/third_party/WebKit/Source/platform/weborigin/URLSecurityOriginMap.h
@@ -28,8 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef SecurityOriginCache_h
-#define SecurityOriginCache_h
+#ifndef URLSecurityOriginMap_h
+#define URLSecurityOriginMap_h
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
@@ -39,15 +39,15 @@ namespace blink {
class KURL;
class SecurityOrigin;
-class SecurityOriginCache {
- USING_FAST_MALLOC(SecurityOriginCache);
- WTF_MAKE_NONCOPYABLE(SecurityOriginCache);
+class URLSecurityOriginMap {
+ USING_FAST_MALLOC(URLSecurityOriginMap);
+ WTF_MAKE_NONCOPYABLE(URLSecurityOriginMap);
public:
- SecurityOriginCache() { }
- virtual ~SecurityOriginCache() { }
- virtual SecurityOrigin* cachedOrigin(const KURL&) = 0;
+ URLSecurityOriginMap() { }
+ virtual ~URLSecurityOriginMap() { }
+ virtual SecurityOrigin* getOrigin(const KURL&) = 0;
};
} // namespace blink
-#endif // SecurityOriginCache_h
+#endif // URLSecurityOriginMap_h
« no previous file with comments | « third_party/WebKit/Source/platform/weborigin/SecurityOriginCache.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698