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 #include "webkit/dom_storage/dom_storage_database.h" | 5 #include "webkit/browser/dom_storage/dom_storage_database.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "sql/statement.h" | 10 #include "sql/statement.h" |
11 #include "sql/transaction.h" | 11 #include "sql/transaction.h" |
12 #include "third_party/sqlite/sqlite3.h" | 12 #include "third_party/sqlite/sqlite3.h" |
13 | 13 |
14 namespace { | 14 namespace { |
15 | 15 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 CreateTableV2() && | 299 CreateTableV2() && |
300 CommitChanges(false, values) && | 300 CommitChanges(false, values) && |
301 migration.Commit(); | 301 migration.Commit(); |
302 } | 302 } |
303 | 303 |
304 void DomStorageDatabase::Close() { | 304 void DomStorageDatabase::Close() { |
305 db_.reset(NULL); | 305 db_.reset(NULL); |
306 } | 306 } |
307 | 307 |
308 } // namespace dom_storage | 308 } // namespace dom_storage |
OLD | NEW |