| 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 "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
| 9 #include "content/common/indexed_db/indexed_db_key.h" | 9 #include "content/common/indexed_db/indexed_db_key.h" |
| 10 #include "content/common/indexed_db/indexed_db_key_path.h" | 10 #include "content/common/indexed_db/indexed_db_key_path.h" |
| 11 #include "content/common/indexed_db/indexed_db_key_range.h" | 11 #include "content/common/indexed_db/indexed_db_key_range.h" |
| 12 #include "third_party/WebKit/public/platform/WebIDBKey.h" | 12 #include "third_party/WebKit/public/platform/WebIDBKey.h" |
| 13 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" | 13 #include "third_party/WebKit/public/platform/WebIDBKeyPath.h" |
| 14 #include "third_party/WebKit/public/platform/WebIDBKeyRange.h" | 14 #include "third_party/WebKit/public/platform/WebIDBKeyRange.h" |
| 15 | 15 |
| 16 namespace WebKit { | 16 namespace blink { |
| 17 class WebIDBKey; | 17 class WebIDBKey; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace content { | 20 namespace content { |
| 21 | 21 |
| 22 class CONTENT_EXPORT IndexedDBKeyBuilder { | 22 class CONTENT_EXPORT IndexedDBKeyBuilder { |
| 23 public: | 23 public: |
| 24 static IndexedDBKey Build(const WebKit::WebIDBKey& key); | 24 static IndexedDBKey Build(const blink::WebIDBKey& key); |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 class CONTENT_EXPORT WebIDBKeyBuilder { | 27 class CONTENT_EXPORT WebIDBKeyBuilder { |
| 28 public: | 28 public: |
| 29 static WebKit::WebIDBKey Build(const content::IndexedDBKey& key); | 29 static blink::WebIDBKey Build(const content::IndexedDBKey& key); |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 class CONTENT_EXPORT IndexedDBKeyRangeBuilder { | 32 class CONTENT_EXPORT IndexedDBKeyRangeBuilder { |
| 33 public: | 33 public: |
| 34 static IndexedDBKeyRange Build(const WebKit::WebIDBKeyRange& key_range); | 34 static IndexedDBKeyRange Build(const blink::WebIDBKeyRange& key_range); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 class CONTENT_EXPORT IndexedDBKeyPathBuilder { | 37 class CONTENT_EXPORT IndexedDBKeyPathBuilder { |
| 38 public: | 38 public: |
| 39 static IndexedDBKeyPath Build(const WebKit::WebIDBKeyPath& key_path); | 39 static IndexedDBKeyPath Build(const blink::WebIDBKeyPath& key_path); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 class CONTENT_EXPORT WebIDBKeyPathBuilder { | 42 class CONTENT_EXPORT WebIDBKeyPathBuilder { |
| 43 public: | 43 public: |
| 44 static WebKit::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path); | 44 static blink::WebIDBKeyPath Build(const IndexedDBKeyPath& key_path); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace content | 47 } // namespace content |
| 48 | 48 |
| 49 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ | 49 #endif // CONTENT_CHILD_INDEXED_DB_INDEXED_DB_KEY_BUILDERS_H_ |
| OLD | NEW |