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

Side by Side Diff: Source/platform/weborigin/SecurityPolicy.cpp

Issue 94113005: Remove unnecessary includes from KURL.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Typo Created 7 years 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/platform/weborigin/KURLTest.cpp ('k') | Source/platform/win/SystemInfo.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 14 matching lines...) Expand all
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "config.h" 29 #include "config.h"
30 #include "platform/weborigin/SecurityPolicy.h" 30 #include "platform/weborigin/SecurityPolicy.h"
31 31
32 #include "platform/weborigin/KURL.h" 32 #include "platform/weborigin/KURL.h"
33 #include "platform/weborigin/OriginAccessEntry.h" 33 #include "platform/weborigin/OriginAccessEntry.h"
34 #include "platform/weborigin/SecurityOrigin.h" 34 #include "platform/weborigin/SecurityOrigin.h"
35 #include "wtf/HashMap.h"
35 #include "wtf/MainThread.h" 36 #include "wtf/MainThread.h"
36 #include "wtf/OwnPtr.h" 37 #include "wtf/OwnPtr.h"
37 #include "wtf/PassOwnPtr.h" 38 #include "wtf/PassOwnPtr.h"
38 #include "wtf/text/StringHash.h" 39 #include "wtf/text/StringHash.h"
39 40
40 namespace WebCore { 41 namespace WebCore {
41 42
42 typedef Vector<OriginAccessEntry> OriginAccessWhiteList; 43 typedef Vector<OriginAccessEntry> OriginAccessWhiteList;
43 typedef HashMap<String, OwnPtr<OriginAccessWhiteList> > OriginAccessMap; 44 typedef HashMap<String, OwnPtr<OriginAccessWhiteList> > OriginAccessMap;
44 45
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 map.remove(it); 147 map.remove(it);
147 } 148 }
148 149
149 void SecurityPolicy::resetOriginAccessWhitelists() 150 void SecurityPolicy::resetOriginAccessWhitelists()
150 { 151 {
151 ASSERT(isMainThread()); 152 ASSERT(isMainThread());
152 originAccessMap().clear(); 153 originAccessMap().clear();
153 } 154 }
154 155
155 } // namespace WebCore 156 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/platform/weborigin/KURLTest.cpp ('k') | Source/platform/win/SystemInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698