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

Side by Side Diff: Source/core/loader/CrossOriginPreflightResultCache.h

Issue 1013213002: Fix template angle bracket syntax in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 | « Source/core/layout/shapes/Shape.cpp ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 WTF_MAKE_NONCOPYABLE(CrossOriginPreflightResultCache); WTF_MAKE_FAST_ALL OCATED; 69 WTF_MAKE_NONCOPYABLE(CrossOriginPreflightResultCache); WTF_MAKE_FAST_ALL OCATED;
70 public: 70 public:
71 static CrossOriginPreflightResultCache& shared(); 71 static CrossOriginPreflightResultCache& shared();
72 72
73 void appendEntry(const String& origin, const KURL&, PassOwnPtr<CrossOrig inPreflightResultCacheItem>); 73 void appendEntry(const String& origin, const KURL&, PassOwnPtr<CrossOrig inPreflightResultCacheItem>);
74 bool canSkipPreflight(const String& origin, const KURL&, StoredCredentia ls, const String& method, const HTTPHeaderMap& requestHeaders); 74 bool canSkipPreflight(const String& origin, const KURL&, StoredCredentia ls, const String& method, const HTTPHeaderMap& requestHeaders);
75 75
76 private: 76 private:
77 CrossOriginPreflightResultCache() { } 77 CrossOriginPreflightResultCache() { }
78 78
79 typedef HashMap<std::pair<String, KURL>, OwnPtr<CrossOriginPreflightResu ltCacheItem> > CrossOriginPreflightResultHashMap; 79 typedef HashMap<std::pair<String, KURL>, OwnPtr<CrossOriginPreflightResu ltCacheItem>> CrossOriginPreflightResultHashMap;
80 80
81 CrossOriginPreflightResultHashMap m_preflightHashMap; 81 CrossOriginPreflightResultHashMap m_preflightHashMap;
82 }; 82 };
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif 86 #endif
OLDNEW
« no previous file with comments | « Source/core/layout/shapes/Shape.cpp ('k') | Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698