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

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

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 10 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 | Annotate | Revision Log
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 23 matching lines...) Expand all
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class KURL; 36 class KURL;
37 37
38 class DOMURLUtils : public DOMURLUtilsReadOnly { 38 class DOMURLUtils : public DOMURLUtilsReadOnly {
39 public: 39 public:
40 virtual void setURL(const KURL&) = 0; 40 virtual void setURL(const KURL&) = 0;
41 virtual void setInput(const String&) = 0; 41 virtual void setInput(const String&) = 0;
42 virtual ~DOMURLUtils() { }; 42 virtual ~DOMURLUtils() { };
43 43
44 static void setHref(DOMURLUtils*, const String&); 44 static void setHref(DOMURLUtils&, const String&);
45 45
46 static void setProtocol(DOMURLUtils*, const String&); 46 static void setProtocol(DOMURLUtils&, const String&);
47 static void setUsername(DOMURLUtils*, const String&); 47 static void setUsername(DOMURLUtils&, const String&);
48 static void setPassword(DOMURLUtils*, const String&); 48 static void setPassword(DOMURLUtils&, const String&);
49 static void setHost(DOMURLUtils*, const String&); 49 static void setHost(DOMURLUtils&, const String&);
50 static void setHostname(DOMURLUtils*, const String&); 50 static void setHostname(DOMURLUtils&, const String&);
51 static void setPort(DOMURLUtils*, const String&); 51 static void setPort(DOMURLUtils&, const String&);
52 static void setPathname(DOMURLUtils*, const String&); 52 static void setPathname(DOMURLUtils&, const String&);
53 static void setSearch(DOMURLUtils*, const String&); 53 static void setSearch(DOMURLUtils&, const String&);
54 static void setHash(DOMURLUtils*, const String&); 54 static void setHash(DOMURLUtils&, const String&);
55 }; 55 };
56 56
57 } // namespace WebCore 57 } // namespace WebCore
58 58
59 #endif // DOMURLUtils_h 59 #endif // DOMURLUtils_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698