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

Side by Side Diff: Source/core/frame/ContentSecurityPolicy.cpp

Issue 29123004: Move core/platform/network to platform/network (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more file Created 7 years, 2 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 | Annotate | Revision Log
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 * 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 23 matching lines...) Expand all
34 #include "core/dom/Document.h" 34 #include "core/dom/Document.h"
35 #include "core/events/SecurityPolicyViolationEvent.h" 35 #include "core/events/SecurityPolicyViolationEvent.h"
36 #include "core/frame/ContentSecurityPolicyResponseHeaders.h" 36 #include "core/frame/ContentSecurityPolicyResponseHeaders.h"
37 #include "core/frame/Frame.h" 37 #include "core/frame/Frame.h"
38 #include "core/inspector/InspectorInstrumentation.h" 38 #include "core/inspector/InspectorInstrumentation.h"
39 #include "core/inspector/ScriptCallStack.h" 39 #include "core/inspector/ScriptCallStack.h"
40 #include "core/loader/DocumentLoader.h" 40 #include "core/loader/DocumentLoader.h"
41 #include "core/loader/PingLoader.h" 41 #include "core/loader/PingLoader.h"
42 #include "core/page/UseCounter.h" 42 #include "core/page/UseCounter.h"
43 #include "core/platform/ParsingUtilities.h" 43 #include "core/platform/ParsingUtilities.h"
44 #include "core/platform/network/FormData.h"
45 #include "core/platform/network/ResourceResponse.h"
46 #include "platform/JSONValues.h" 44 #include "platform/JSONValues.h"
45 #include "platform/network/FormData.h"
46 #include "platform/network/ResourceResponse.h"
47 #include "weborigin/KURL.h" 47 #include "weborigin/KURL.h"
48 #include "weborigin/KnownPorts.h" 48 #include "weborigin/KnownPorts.h"
49 #include "weborigin/SchemeRegistry.h" 49 #include "weborigin/SchemeRegistry.h"
50 #include "weborigin/SecurityOrigin.h" 50 #include "weborigin/SecurityOrigin.h"
51 #include "wtf/HashSet.h" 51 #include "wtf/HashSet.h"
52 #include "wtf/text/TextPosition.h" 52 #include "wtf/text/TextPosition.h"
53 #include "wtf/text/WTFString.h" 53 #include "wtf/text/WTFString.h"
54 54
55 namespace WebCore { 55 namespace WebCore {
56 56
(...skipping 1836 matching lines...) Expand 10 before | Expand all | Expand 10 after
1893 // Collisions have no security impact, so we can save space by storing only the string's hash rather than the whole report. 1893 // Collisions have no security impact, so we can save space by storing only the string's hash rather than the whole report.
1894 return !m_violationReportsSent.contains(report.impl()->hash()); 1894 return !m_violationReportsSent.contains(report.impl()->hash());
1895 } 1895 }
1896 1896
1897 void ContentSecurityPolicy::didSendViolationReport(const String& report) 1897 void ContentSecurityPolicy::didSendViolationReport(const String& report)
1898 { 1898 {
1899 m_violationReportsSent.add(report.impl()->hash()); 1899 m_violationReportsSent.add(report.impl()->hash());
1900 } 1900 }
1901 1901
1902 } // namespace WebCore 1902 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/fileapi/FileReaderLoader.cpp ('k') | Source/core/frame/ContentSecurityPolicyResponseHeaders.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698