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

Side by Side Diff: Source/core/dom/DOMURL.h

Issue 143313002: Implement URLSearchParams. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Handle dependency between URLUtils interfaces and URLSearchParams Created 6 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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 static void revokeObjectURL(ExecutionContext*, const String&); 63 static void revokeObjectURL(ExecutionContext*, const String&);
64 64
65 static String createPublicURL(ExecutionContext*, URLRegistrable*); 65 static String createPublicURL(ExecutionContext*, URLRegistrable*);
66 66
67 virtual KURL url() const OVERRIDE { return m_url; } 67 virtual KURL url() const OVERRIDE { return m_url; }
68 virtual void setURL(const KURL& url) OVERRIDE { m_url = url; } 68 virtual void setURL(const KURL& url) OVERRIDE { m_url = url; }
69 69
70 virtual String input() const OVERRIDE { return m_input; } 70 virtual String input() const OVERRIDE { return m_input; }
71 virtual void setInput(const String&) OVERRIDE; 71 virtual void setInput(const String&) OVERRIDE;
72 72
73 virtual ImplementedBy implementedBy() const OVERRIDE FINAL { return DOMURLUt ils::DomURL; }
Inactive 2014/01/21 15:25:58 No need for FINAL (ditto below). The class is alre
sof 2014/01/21 21:16:47 Done.
74
73 private: 75 private:
74 DOMURL(const String& url, const KURL& base, ExceptionState&); 76 DOMURL(const String& url, const KURL& base, ExceptionState&);
75 77
78 virtual void refURLUtils() OVERRIDE FINAL { ref(); }
79 virtual void derefURLUtils() OVERRIDE FINAL { deref(); }
80
76 KURL m_url; 81 KURL m_url;
77 String m_input; 82 String m_input;
78 }; 83 };
79 84
80 } // namespace WebCore 85 } // namespace WebCore
81 86
82 #endif // DOMURL_h 87 #endif // DOMURL_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698