OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ | 5 #ifndef CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ |
6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ | 6 #define CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/indexed_db/indexed_db_key.h" | 10 #include "content/common/indexed_db/indexed_db_key.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 }; | 37 }; |
38 | 38 |
39 class CONTENT_EXPORT IndexedDBKeyRangeBuilder { | 39 class CONTENT_EXPORT IndexedDBKeyRangeBuilder { |
40 public: | 40 public: |
41 static IndexedDBKeyRange Build(const blink::WebIDBKeyRange& key_range); | 41 static IndexedDBKeyRange Build(const blink::WebIDBKeyRange& key_range); |
42 | 42 |
43 private: | 43 private: |
44 DISALLOW_COPY_AND_ASSIGN(IndexedDBKeyRangeBuilder); | 44 DISALLOW_COPY_AND_ASSIGN(IndexedDBKeyRangeBuilder); |
45 }; | 45 }; |
46 | 46 |
| 47 class CONTENT_EXPORT WebIDBKeyRangeBuilder { |
| 48 public: |
| 49 static blink::WebIDBKeyRange Build(const content::IndexedDBKeyRange& key); |
| 50 |
| 51 private: |
| 52 DISALLOW_COPY_AND_ASSIGN(WebIDBKeyRangeBuilder); |
| 53 }; |
| 54 |
47 class CONTENT_EXPORT IndexedDBKeyPathBuilder { | 55 class CONTENT_EXPORT IndexedDBKeyPathBuilder { |
48 public: | 56 public: |
49 static IndexedDBKeyPath Build(const blink::WebIDBKeyPath& key_path); | 57 static IndexedDBKeyPath Build(const blink::WebIDBKeyPath& key_path); |
50 | 58 |
51 private: | 59 private: |
52 DISALLOW_COPY_AND_ASSIGN(IndexedDBKeyPathBuilder); | 60 DISALLOW_COPY_AND_ASSIGN(IndexedDBKeyPathBuilder); |
53 }; | 61 }; |
54 | 62 |
55 class CONTENT_EXPORT WebIDBKeyPathBuilder { | 63 class CONTENT_EXPORT WebIDBKeyPathBuilder { |
56 public: | 64 public: |
57 static blink::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path); | 65 static blink::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path); |
58 | 66 |
59 private: | 67 private: |
60 DISALLOW_COPY_AND_ASSIGN(WebIDBKeyPathBuilder); | 68 DISALLOW_COPY_AND_ASSIGN(WebIDBKeyPathBuilder); |
61 }; | 69 }; |
62 | 70 |
63 } // namespace content | 71 } // namespace content |
64 | 72 |
65 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ | 73 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ |
OLD | NEW |