| 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 <set> |     5 #include <set> | 
|     6 #include <string> |     6 #include <string> | 
|     7 #include <vector> |     7 #include <vector> | 
|     8  |     8  | 
|     9 #include "base/bind.h" |     9 #include "base/bind.h" | 
|    10 #include "base/file_util.h" |    10 #include "base/file_util.h" | 
|    11 #include "base/files/file_path.h" |    11 #include "base/files/file_path.h" | 
|    12 #include "base/files/scoped_temp_dir.h" |    12 #include "base/files/scoped_temp_dir.h" | 
|    13 #include "base/memory/scoped_ptr.h" |    13 #include "base/memory/scoped_ptr.h" | 
|    14 #include "base/message_loop.h" |    14 #include "base/message_loop/message_loop.h" | 
|    15 #include "base/platform_file.h" |    15 #include "base/platform_file.h" | 
|    16 #include "testing/gtest/include/gtest/gtest.h" |    16 #include "testing/gtest/include/gtest/gtest.h" | 
|    17 #include "webkit/browser/fileapi/async_file_test_helper.h" |    17 #include "webkit/browser/fileapi/async_file_test_helper.h" | 
|    18 #include "webkit/browser/fileapi/external_mount_points.h" |    18 #include "webkit/browser/fileapi/external_mount_points.h" | 
|    19 #include "webkit/browser/fileapi/file_system_backend.h" |    19 #include "webkit/browser/fileapi/file_system_backend.h" | 
|    20 #include "webkit/browser/fileapi/file_system_context.h" |    20 #include "webkit/browser/fileapi/file_system_context.h" | 
|    21 #include "webkit/browser/fileapi/file_system_operation_context.h" |    21 #include "webkit/browser/fileapi/file_system_operation_context.h" | 
|    22 #include "webkit/browser/fileapi/file_system_task_runners.h" |    22 #include "webkit/browser/fileapi/file_system_task_runners.h" | 
|    23 #include "webkit/browser/fileapi/file_system_usage_cache.h" |    23 #include "webkit/browser/fileapi/file_system_usage_cache.h" | 
|    24 #include "webkit/browser/fileapi/mock_file_change_observer.h" |    24 #include "webkit/browser/fileapi/mock_file_change_observer.h" | 
| (...skipping 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  2321   // Remove isolated. |  2321   // Remove isolated. | 
|  2322   storage_policy_->RemoveIsolated(origin_); |  2322   storage_policy_->RemoveIsolated(origin_); | 
|  2323  |  2323  | 
|  2324   // This should still get the same database. |  2324   // This should still get the same database. | 
|  2325   SandboxDirectoryDatabase* db2 = file_util.GetDirectoryDatabase( |  2325   SandboxDirectoryDatabase* db2 = file_util.GetDirectoryDatabase( | 
|  2326       origin_, kFileSystemTypePersistent, false /* create */); |  2326       origin_, kFileSystemTypePersistent, false /* create */); | 
|  2327   ASSERT_EQ(db, db2); |  2327   ASSERT_EQ(db, db2); | 
|  2328 } |  2328 } | 
|  2329  |  2329  | 
|  2330 }  // namespace fileapi |  2330 }  // namespace fileapi | 
| OLD | NEW |