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

Side by Side Diff: Source/modules/indexeddb/IDBKeyPath.h

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
« no previous file with comments | « Source/modules/indexeddb/IDBKey.cpp ('k') | Source/modules/indexeddb/IDBKeyPath.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef IDBKeyPath_h 26 #ifndef IDBKeyPath_h
27 #define IDBKeyPath_h 27 #define IDBKeyPath_h
28 28
29 #include "wtf/Vector.h" 29 #include "wtf/Vector.h"
30 #include "wtf/text/WTFString.h" 30 #include "wtf/text/WTFString.h"
31 31
32 namespace WebCore { 32 namespace blink {
33 33
34 enum IDBKeyPathParseError { 34 enum IDBKeyPathParseError {
35 IDBKeyPathParseErrorNone, 35 IDBKeyPathParseErrorNone,
36 IDBKeyPathParseErrorStart, 36 IDBKeyPathParseErrorStart,
37 IDBKeyPathParseErrorIdentifier, 37 IDBKeyPathParseErrorIdentifier,
38 IDBKeyPathParseErrorDot, 38 IDBKeyPathParseErrorDot,
39 }; 39 };
40 40
41 void IDBParseKeyPath(const String&, Vector<String>&, IDBKeyPathParseError&); 41 void IDBParseKeyPath(const String&, Vector<String>&, IDBKeyPathParseError&);
42 42
(...skipping 26 matching lines...) Expand all
69 bool isNull() const { return m_type == NullType; } 69 bool isNull() const { return m_type == NullType; }
70 bool isValid() const; 70 bool isValid() const;
71 bool operator==(const IDBKeyPath& other) const; 71 bool operator==(const IDBKeyPath& other) const;
72 72
73 private: 73 private:
74 Type m_type; 74 Type m_type;
75 String m_string; 75 String m_string;
76 Vector<String> m_array; 76 Vector<String> m_array;
77 }; 77 };
78 78
79 } // namespace WebCore 79 } // namespace blink
80 80
81 #endif // IDBKeyPath_h 81 #endif // IDBKeyPath_h
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/IDBKey.cpp ('k') | Source/modules/indexeddb/IDBKeyPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698