OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/fileapi/obfuscated_file_system_file_util.h" | 5 #include "webkit/fileapi/obfuscated_file_system_file_util.h" |
6 | 6 |
7 #include <queue> | 7 #include <queue> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
11 #include "base/format_macros.h" | 11 #include "base/format_macros.h" |
12 #include "base/logging.h" | 12 #include "base/logging.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop.h" |
14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
15 #include "base/stringprintf.h" | 15 #include "base/stringprintf.h" |
16 #include "base/sys_string_conversions.h" | 16 #include "base/sys_string_conversions.h" |
17 #include "base/stl_util-inl.h" | 17 #include "base/stl_util.h" |
18 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
19 #include "webkit/fileapi/file_system_context.h" | 19 #include "webkit/fileapi/file_system_context.h" |
20 #include "webkit/fileapi/file_system_operation_context.h" | 20 #include "webkit/fileapi/file_system_operation_context.h" |
21 #include "webkit/fileapi/file_system_path_manager.h" | 21 #include "webkit/fileapi/file_system_path_manager.h" |
22 #include "webkit/fileapi/file_system_util.h" | 22 #include "webkit/fileapi/file_system_util.h" |
23 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 23 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
24 | 24 |
25 namespace { | 25 namespace { |
26 | 26 |
27 const int64 kFlushDelaySeconds = 10 * 60; // 10 minutes | 27 const int64 kFlushDelaySeconds = 10 * 60; // 10 minutes |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1085 return false; | 1085 return false; |
1086 } | 1086 } |
1087 origin_database_.reset( | 1087 origin_database_.reset( |
1088 new FileSystemOriginDatabase( | 1088 new FileSystemOriginDatabase( |
1089 file_system_directory_.AppendASCII(kOriginDatabaseName))); | 1089 file_system_directory_.AppendASCII(kOriginDatabaseName))); |
1090 } | 1090 } |
1091 return true; | 1091 return true; |
1092 } | 1092 } |
1093 | 1093 |
1094 } // namespace fileapi | 1094 } // namespace fileapi |
OLD | NEW |