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

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

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase Created 3 years, 11 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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Motorola Mobility Inc. 3 * Copyright (C) 2012 Motorola Mobility Inc.
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 13 matching lines...) Expand all
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "core/dom/DOMURL.h" 27 #include "core/dom/DOMURL.h"
28 28
29 #include "bindings/core/v8/ExceptionMessages.h" 29 #include "bindings/core/v8/ExceptionMessages.h"
30 #include "bindings/core/v8/ExceptionState.h" 30 #include "bindings/core/v8/ExceptionState.h"
31 #include "core/dom/ExceptionCode.h" 31 #include "core/dom/ExceptionCode.h"
32 #include "core/dom/ExecutionContext.h" 32 #include "core/dom/ExecutionContext.h"
33 #include "core/dom/URLSearchParams.h" 33 #include "core/dom/URLSearchParams.h"
34 #include "core/fetch/MemoryCache.h"
35 #include "core/html/PublicURLManager.h" 34 #include "core/html/PublicURLManager.h"
35 #include "platform/loader/fetch/MemoryCache.h"
36 #include "wtf/AutoReset.h" 36 #include "wtf/AutoReset.h"
37 37
38 namespace blink { 38 namespace blink {
39 39
40 DOMURL::DOMURL(const String& url, 40 DOMURL::DOMURL(const String& url,
41 const KURL& base, 41 const KURL& base,
42 ExceptionState& exceptionState) { 42 ExceptionState& exceptionState) {
43 if (!base.isValid()) { 43 if (!base.isValid()) {
44 exceptionState.throwTypeError("Invalid base URL"); 44 exceptionState.throwTypeError("Invalid base URL");
45 return; 45 return;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 return; 107 return;
108 108
109 AutoReset<bool> scope(&m_isInUpdate, true); 109 AutoReset<bool> scope(&m_isInUpdate, true);
110 #if DCHECK_IS_ON() 110 #if DCHECK_IS_ON()
111 DCHECK_EQ(m_searchParams->urlObject(), this); 111 DCHECK_EQ(m_searchParams->urlObject(), this);
112 #endif 112 #endif
113 m_searchParams->setInput(queryString); 113 m_searchParams->setInput(queryString);
114 } 114 }
115 115
116 } // namespace blink 116 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698