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

Side by Side Diff: third_party/WebKit/Source/core/loader/DocumentLoader.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (Closed)
Patch Set: Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2011 Google Inc. All rights reserved. 3 * Copyright (C) 2011 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 #include "platform/weborigin/SecurityPolicy.h" 79 #include "platform/weborigin/SecurityPolicy.h"
80 #include "public/platform/Platform.h" 80 #include "public/platform/Platform.h"
81 #include "public/platform/modules/serviceworker/WebServiceWorkerNetworkProvider. h" 81 #include "public/platform/modules/serviceworker/WebServiceWorkerNetworkProvider. h"
82 #include "wtf/Assertions.h" 82 #include "wtf/Assertions.h"
83 #include "wtf/AutoReset.h" 83 #include "wtf/AutoReset.h"
84 #include "wtf/text/WTFString.h" 84 #include "wtf/text/WTFString.h"
85 85
86 namespace blink { 86 namespace blink {
87 87
88 static bool IsArchiveMIMEType(const String& mime_type) { 88 static bool IsArchiveMIMEType(const String& mime_type) {
89 return EqualIgnoringCase("multipart/related", mime_type); 89 return DeprecatedEqualIgnoringCase("multipart/related", mime_type);
90 } 90 }
91 91
92 static bool ShouldInheritSecurityOriginFromOwner(const KURL& url) { 92 static bool ShouldInheritSecurityOriginFromOwner(const KURL& url) {
93 // https://html.spec.whatwg.org/multipage/browsers.html#origin 93 // https://html.spec.whatwg.org/multipage/browsers.html#origin
94 // 94 //
95 // If a Document is the initial "about:blank" document The origin and 95 // If a Document is the initial "about:blank" document The origin and
96 // effective script origin of the Document are those it was assigned when its 96 // effective script origin of the Document are those it was assigned when its
97 // browsing context was created. 97 // browsing context was created.
98 // 98 //
99 // Note: We generalize this to all "blank" URLs and invalid URLs because we 99 // Note: We generalize this to all "blank" URLs and invalid URLs because we
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 InstallNewDocumentReason::kJavascriptURL, 1114 InstallNewDocumentReason::kJavascriptURL,
1115 kForceSynchronousParsing, KURL()); 1115 kForceSynchronousParsing, KURL());
1116 if (!source.IsNull()) 1116 if (!source.IsNull())
1117 writer_->AppendReplacingData(source); 1117 writer_->AppendReplacingData(source);
1118 EndWriting(); 1118 EndWriting();
1119 } 1119 }
1120 1120
1121 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader); 1121 DEFINE_WEAK_IDENTIFIER_MAP(DocumentLoader);
1122 1122
1123 } // namespace blink 1123 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698