| 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 "chrome/browser/sync_file_system/drive_backend/metadata_db_migration_ut
il.h" | 5 #include "chrome/browser/sync_file_system/drive_backend/metadata_db_migration_ut
il.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 11 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 12 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" | 13 #include "chrome/browser/sync_file_system/drive_backend/drive_backend_constants.
h" |
| 13 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" | 14 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
| 14 #include "storage/browser/fileapi/external_mount_points.h" | 15 #include "storage/browser/fileapi/external_mount_points.h" |
| 15 #include "storage/common/fileapi/file_system_util.h" | 16 #include "storage/common/fileapi/file_system_util.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "third_party/leveldatabase/src/include/leveldb/db.h" | 18 #include "third_party/leveldatabase/src/include/leveldb/db.h" |
| 18 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" | 19 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" |
| 19 #include "url/gurl.h" | 20 #include "url/gurl.h" |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 VerifyNotExist(kMultiTrackerByFileIDKeyPrefix, db.get()); | 119 VerifyNotExist(kMultiTrackerByFileIDKeyPrefix, db.get()); |
| 119 VerifyNotExist(kActiveTrackerIDByParentAndTitleKeyPrefix, db.get()); | 120 VerifyNotExist(kActiveTrackerIDByParentAndTitleKeyPrefix, db.get()); |
| 120 VerifyNotExist(kTrackerIDByParentAndTitleKeyPrefix, db.get()); | 121 VerifyNotExist(kTrackerIDByParentAndTitleKeyPrefix, db.get()); |
| 121 VerifyNotExist(kMultiBackingParentAndTitleKeyPrefix, db.get()); | 122 VerifyNotExist(kMultiBackingParentAndTitleKeyPrefix, db.get()); |
| 122 VerifyNotExist(kDirtyIDKeyPrefix, db.get()); | 123 VerifyNotExist(kDirtyIDKeyPrefix, db.get()); |
| 123 VerifyNotExist(kDemotedDirtyIDKeyPrefix, db.get()); | 124 VerifyNotExist(kDemotedDirtyIDKeyPrefix, db.get()); |
| 124 } | 125 } |
| 125 | 126 |
| 126 } // namespace drive_backend | 127 } // namespace drive_backend |
| 127 } // namespace sync_file_system | 128 } // namespace sync_file_system |
| OLD | NEW |