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

Side by Side Diff: Source/core/html/parser/XSSAuditorDelegate.cpp

Issue 13840007: Absolutify paths to platform/network. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/core/html/parser/XSSAuditor.cpp ('k') | Source/core/inspector/InspectorAgent.cpp » ('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) 2013 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2013 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 12 matching lines...) Expand all
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #include "config.h" 26 #include "config.h"
27 #include "XSSAuditorDelegate.h" 27 #include "XSSAuditorDelegate.h"
28 28
29 #include "Console.h" 29 #include "Console.h"
30 #include "DOMWindow.h" 30 #include "DOMWindow.h"
31 #include "Document.h" 31 #include "Document.h"
32 #include "DocumentLoader.h" 32 #include "DocumentLoader.h"
33 #include "FormData.h"
34 #include "Frame.h" 33 #include "Frame.h"
35 #include "FrameLoader.h" 34 #include "FrameLoader.h"
36 #include "FrameLoaderClient.h" 35 #include "FrameLoaderClient.h"
37 #include "HTMLParserIdioms.h" 36 #include "HTMLParserIdioms.h"
38 #include "InspectorValues.h" 37 #include "InspectorValues.h"
39 #include "PingLoader.h" 38 #include "PingLoader.h"
40 #include "SecurityOrigin.h" 39 #include "SecurityOrigin.h"
40 #include "core/platform/network/FormData.h"
41 #include <wtf/text/StringBuilder.h> 41 #include <wtf/text/StringBuilder.h>
42 42
43 namespace WebCore { 43 namespace WebCore {
44 44
45 XSSAuditorDelegate::XSSAuditorDelegate(Document* document) 45 XSSAuditorDelegate::XSSAuditorDelegate(Document* document)
46 : m_document(document) 46 : m_document(document)
47 , m_didSendNotifications(false) 47 , m_didSendNotifications(false)
48 { 48 {
49 ASSERT(isMainThread()); 49 ASSERT(isMainThread());
50 ASSERT(m_document); 50 ASSERT(m_document);
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 111
112 if (!m_reportURL.isEmpty()) 112 if (!m_reportURL.isEmpty())
113 PingLoader::sendViolationReport(m_document->frame(), m_reportURL, ge nerateViolationReport()); 113 PingLoader::sendViolationReport(m_document->frame(), m_reportURL, ge nerateViolationReport());
114 } 114 }
115 115
116 if (xssInfo.m_didBlockEntirePage) 116 if (xssInfo.m_didBlockEntirePage)
117 m_document->frame()->navigationScheduler()->scheduleLocationChange(m_doc ument->securityOrigin(), SecurityOrigin::urlWithUniqueSecurityOrigin(), String() ); 117 m_document->frame()->navigationScheduler()->scheduleLocationChange(m_doc ument->securityOrigin(), SecurityOrigin::urlWithUniqueSecurityOrigin(), String() );
118 } 118 }
119 119
120 } // namespace WebCore 120 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/html/parser/XSSAuditor.cpp ('k') | Source/core/inspector/InspectorAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698