| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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 #include "content/browser/dom_storage/dom_storage_database.h" | 5 #include "content/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/files/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 |
| 16 const base::FilePath::CharType kJournal[] = FILE_PATH_LITERAL("-journal"); | 16 const base::FilePath::CharType kJournal[] = FILE_PATH_LITERAL("-journal"); |
| 17 | 17 |
| 18 } // anon namespace | 18 } // anon namespace |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 CreateTableV2() && | 284 CreateTableV2() && |
| 285 CommitChanges(false, values) && | 285 CommitChanges(false, values) && |
| 286 migration.Commit(); | 286 migration.Commit(); |
| 287 } | 287 } |
| 288 | 288 |
| 289 void DOMStorageDatabase::Close() { | 289 void DOMStorageDatabase::Close() { |
| 290 db_.reset(NULL); | 290 db_.reset(NULL); |
| 291 } | 291 } |
| 292 | 292 |
| 293 } // namespace content | 293 } // namespace content |
| OLD | NEW |