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

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

Issue 47623002: Fix more warnings on linux (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix sign-compare and do not yet turn on -Wall. Created 7 years, 1 month 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 21 matching lines...) Expand all
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 33
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 43
43 static void setHref(DOMURLUtils*, const String&); 44 static void setHref(DOMURLUtils*, const String&);
44 45
45 static void setProtocol(DOMURLUtils*, const String&); 46 static void setProtocol(DOMURLUtils*, const String&);
46 static void setUsername(DOMURLUtils*, const String&); 47 static void setUsername(DOMURLUtils*, const String&);
47 static void setPassword(DOMURLUtils*, const String&); 48 static void setPassword(DOMURLUtils*, const String&);
48 static void setHost(DOMURLUtils*, const String&); 49 static void setHost(DOMURLUtils*, const String&);
49 static void setHostname(DOMURLUtils*, const String&); 50 static void setHostname(DOMURLUtils*, const String&);
50 static void setPort(DOMURLUtils*, const String&); 51 static void setPort(DOMURLUtils*, const String&);
51 static void setPathname(DOMURLUtils*, const String&); 52 static void setPathname(DOMURLUtils*, const String&);
52 static void setSearch(DOMURLUtils*, const String&); 53 static void setSearch(DOMURLUtils*, const String&);
53 static void setHash(DOMURLUtils*, const String&); 54 static void setHash(DOMURLUtils*, const String&);
54 }; 55 };
55 56
56 } // namespace WebCore 57 } // namespace WebCore
57 58
58 #endif // DOMURLUtils_h 59 #endif // DOMURLUtils_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698