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

Side by Side Diff: Source/core/xml/XPathNSResolver.h

Issue 108543003: Consistently use AtomicString for namespaceURI / prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 2005 Frerich Raabe <raabe@kde.org> 2 * Copyright 2005 Frerich Raabe <raabe@kde.org>
3 * Copyright (C) 2006 Apple Computer, Inc. 3 * Copyright (C) 2006 Apple Computer, 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 18 matching lines...) Expand all
29 29
30 #include "bindings/v8/ScriptWrappable.h" 30 #include "bindings/v8/ScriptWrappable.h"
31 #include "wtf/Forward.h" 31 #include "wtf/Forward.h"
32 #include "wtf/RefCounted.h" 32 #include "wtf/RefCounted.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class XPathNSResolver : public RefCounted<XPathNSResolver>, public ScriptWrappab le { 36 class XPathNSResolver : public RefCounted<XPathNSResolver>, public ScriptWrappab le {
37 public: 37 public:
38 virtual ~XPathNSResolver(); 38 virtual ~XPathNSResolver();
39 virtual String lookupNamespaceURI(const String& prefix) = 0; 39 virtual AtomicString lookupNamespaceURI(const String& prefix) = 0;
40 40
41 protected: 41 protected:
42 XPathNSResolver() 42 XPathNSResolver()
43 { 43 {
44 ScriptWrappable::init(this); 44 ScriptWrappable::init(this);
45 } 45 }
46 }; 46 };
47 47
48 } 48 }
49 49
50 #endif // XPathNSResolver_h 50 #endif // XPathNSResolver_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698