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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (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) 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 15 matching lines...) Expand all
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/html/PublicURLManager.h" 34 #include "core/html/PublicURLManager.h"
35 #include "platform/loader/fetch/MemoryCache.h" 35 #include "platform/loader/fetch/MemoryCache.h"
36 #include "wtf/AutoReset.h" 36 #include "platform/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& exception_state) { 42 ExceptionState& exception_state) {
43 if (!base.IsValid()) { 43 if (!base.IsValid()) {
44 exception_state.ThrowTypeError("Invalid base URL"); 44 exception_state.ThrowTypeError("Invalid base URL");
45 return; 45 return;
46 } 46 }
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 return; 107 return;
108 108
109 AutoReset<bool> scope(&is_in_update_, true); 109 AutoReset<bool> scope(&is_in_update_, true);
110 #if DCHECK_IS_ON() 110 #if DCHECK_IS_ON()
111 DCHECK_EQ(search_params_->UrlObject(), this); 111 DCHECK_EQ(search_params_->UrlObject(), this);
112 #endif 112 #endif
113 search_params_->SetInput(query_string); 113 search_params_->SetInput(query_string);
114 } 114 }
115 115
116 } // namespace blink 116 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/DOMURL.h ('k') | third_party/WebKit/Source/core/dom/DOMURLUtils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698