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 "webkit/browser/fileapi/sandbox_prioritized_origin_database.h" | 5 #include "webkit/browser/fileapi/sandbox_prioritized_origin_database.h" |
6 | 6 |
7 #include "base/file_util.h" | |
8 #include "base/files/file.h" | 7 #include "base/files/file.h" |
9 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
| 9 #include "base/files/file_util.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/pickle.h" | 11 #include "base/pickle.h" |
12 #include "webkit/browser/fileapi/sandbox_isolated_origin_database.h" | 12 #include "webkit/browser/fileapi/sandbox_isolated_origin_database.h" |
13 #include "webkit/browser/fileapi/sandbox_origin_database.h" | 13 #include "webkit/browser/fileapi/sandbox_origin_database.h" |
14 | 14 |
15 namespace storage { | 15 namespace storage { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 const base::FilePath::CharType kPrimaryDirectory[] = | 19 const base::FilePath::CharType kPrimaryDirectory[] = |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 } | 214 } |
215 } | 215 } |
216 | 216 |
217 SandboxOriginDatabase* | 217 SandboxOriginDatabase* |
218 SandboxPrioritizedOriginDatabase::GetSandboxOriginDatabase() { | 218 SandboxPrioritizedOriginDatabase::GetSandboxOriginDatabase() { |
219 MaybeInitializeNonPrimaryDatabase(true); | 219 MaybeInitializeNonPrimaryDatabase(true); |
220 return origin_database_.get(); | 220 return origin_database_.get(); |
221 } | 221 } |
222 | 222 |
223 } // namespace storage | 223 } // namespace storage |
OLD | NEW |