| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/message_loop/message_loop.h" |
| 11 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 12 #include "base/threading/sequenced_worker_pool.h" | 13 #include "base/threading/sequenced_worker_pool.h" |
| 13 #include "base/threading/thread_task_runner_handle.h" | 14 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "chrome/browser/extensions/app_data_migrator.h" | 15 #include "chrome/browser/extensions/app_data_migrator.h" |
| 15 #include "chrome/browser/extensions/extension_special_storage_policy.h" | 16 #include "chrome/browser/extensions/extension_special_storage_policy.h" |
| 16 #include "chrome/test/base/testing_profile.h" | 17 #include "chrome/test/base/testing_profile.h" |
| 17 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
| 18 #include "content/public/browser/indexed_db_context.h" | 19 #include "content/public/browser/indexed_db_context.h" |
| 19 #include "content/public/browser/storage_partition.h" | 20 #include "content/public/browser/storage_partition.h" |
| 20 #include "content/public/test/test_browser_thread_bundle.h" | 21 #include "content/public/test/test_browser_thread_bundle.h" |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 content::StoragePartition* new_partition = | 278 content::StoragePartition* new_partition = |
| 278 content::BrowserContext::GetStoragePartitionForSite(profile_.get(), | 279 content::BrowserContext::GetStoragePartitionForSite(profile_.get(), |
| 279 extension_url); | 280 extension_url); |
| 280 | 281 |
| 281 ASSERT_NE(new_partition->GetPath(), default_partition_->GetPath()); | 282 ASSERT_NE(new_partition->GetPath(), default_partition_->GetPath()); |
| 282 | 283 |
| 283 VerifyTestFilesMigrated(new_partition, new_ext.get()); | 284 VerifyTestFilesMigrated(new_partition, new_ext.get()); |
| 284 } | 285 } |
| 285 | 286 |
| 286 } // namespace extensions | 287 } // namespace extensions |
| OLD | NEW |