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

Side by Side Diff: third_party/WebKit/Source/core/dom/ClassicPendingScript.cpp

Issue 2822763002: Revert of Rename PendingScript::Url() to UrlForClassicScript() (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 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/dom/ClassicPendingScript.h" 5 #include "core/dom/ClassicPendingScript.h"
6 6
7 #include "bindings/core/v8/ScriptSourceCode.h" 7 #include "bindings/core/v8/ScriptSourceCode.h"
8 #include "bindings/core/v8/ScriptState.h" 8 #include "bindings/core/v8/ScriptState.h"
9 #include "bindings/core/v8/V8Binding.h" 9 #include "bindings/core/v8/V8Binding.h"
10 #include "core/dom/Document.h" 10 #include "core/dom/Document.h"
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 222
223 ScriptStreamer::StartStreaming( 223 ScriptStreamer::StartStreaming(
224 this, streamer_type, document->GetFrame()->GetSettings(), script_state, 224 this, streamer_type, document->GetFrame()->GetSettings(), script_state,
225 TaskRunnerHelper::Get(TaskType::kNetworking, document)); 225 TaskRunnerHelper::Get(TaskType::kNetworking, document));
226 } 226 }
227 227
228 bool ClassicPendingScript::WasCanceled() const { 228 bool ClassicPendingScript::WasCanceled() const {
229 return GetResource()->WasCanceled(); 229 return GetResource()->WasCanceled();
230 } 230 }
231 231
232 KURL ClassicPendingScript::UrlForClassicScript() const { 232 KURL ClassicPendingScript::Url() const {
233 return GetResource()->Url(); 233 return GetResource()->Url();
234 } 234 }
235 235
236 void ClassicPendingScript::RemoveFromMemoryCache() { 236 void ClassicPendingScript::RemoveFromMemoryCache() {
237 GetMemoryCache()->Remove(GetResource()); 237 GetMemoryCache()->Remove(GetResource());
238 } 238 }
239 239
240 } // namespace blink 240 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ClassicPendingScript.h ('k') | third_party/WebKit/Source/core/dom/PendingScript.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698