| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 5 #ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 6 #define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 virtual void OnSuccess(const std::vector<string16>& string); | 55 virtual void OnSuccess(const std::vector<string16>& string); |
| 56 | 56 |
| 57 // IndexedDBFactory::Open / DeleteDatabase | 57 // IndexedDBFactory::Open / DeleteDatabase |
| 58 virtual void OnBlocked(int64 existing_version); | 58 virtual void OnBlocked(int64 existing_version); |
| 59 | 59 |
| 60 // IndexedDBFactory::Open | 60 // IndexedDBFactory::Open |
| 61 virtual void OnUpgradeNeeded( | 61 virtual void OnUpgradeNeeded( |
| 62 int64 old_version, | 62 int64 old_version, |
| 63 scoped_ptr<IndexedDBConnection> connection, | 63 scoped_ptr<IndexedDBConnection> connection, |
| 64 const content::IndexedDBDatabaseMetadata& metadata, | 64 const content::IndexedDBDatabaseMetadata& metadata, |
| 65 WebKit::WebIDBCallbacks::DataLoss data_loss, | 65 blink::WebIDBCallbacks::DataLoss data_loss, |
| 66 std::string data_loss_message); | 66 std::string data_loss_message); |
| 67 virtual void OnSuccess(scoped_ptr<IndexedDBConnection> connection, | 67 virtual void OnSuccess(scoped_ptr<IndexedDBConnection> connection, |
| 68 const content::IndexedDBDatabaseMetadata& metadata); | 68 const content::IndexedDBDatabaseMetadata& metadata); |
| 69 | 69 |
| 70 // IndexedDBDatabase::OpenCursor | 70 // IndexedDBDatabase::OpenCursor |
| 71 virtual void OnSuccess(scoped_refptr<IndexedDBCursor> cursor, | 71 virtual void OnSuccess(scoped_refptr<IndexedDBCursor> cursor, |
| 72 const IndexedDBKey& key, | 72 const IndexedDBKey& key, |
| 73 const IndexedDBKey& primary_key, | 73 const IndexedDBKey& primary_key, |
| 74 std::string* value); | 74 std::string* value); |
| 75 | 75 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 // IndexedDBDatabase callbacks ------------------------ | 119 // IndexedDBDatabase callbacks ------------------------ |
| 120 int64 host_transaction_id_; | 120 int64 host_transaction_id_; |
| 121 GURL origin_url_; | 121 GURL origin_url_; |
| 122 int32 ipc_database_id_; | 122 int32 ipc_database_id_; |
| 123 int32 ipc_database_callbacks_id_; | 123 int32 ipc_database_callbacks_id_; |
| 124 }; | 124 }; |
| 125 | 125 |
| 126 } // namespace content | 126 } // namespace content |
| 127 | 127 |
| 128 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ | 128 #endif // CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_CALLBACKS_H_ |
| OLD | NEW |