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/file_system_path_manager.h" | 5 #include "webkit/fileapi/file_system_path_manager.h" |
6 | 6 |
7 #include "base/rand_util.h" | 7 #include "base/rand_util.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/scoped_callback_factory.h" | 9 #include "base/memory/scoped_callback_factory.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
12 #include "base/message_loop_proxy.h" | 12 #include "base/message_loop_proxy.h" |
13 #include "base/stringprintf.h" | 13 #include "base/stringprintf.h" |
14 #include "base/string_util.h" | 14 #include "base/string_util.h" |
15 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" | 17 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
18 #include "webkit/fileapi/file_system_util.h" | 18 #include "webkit/fileapi/file_system_util.h" |
19 #include "webkit/fileapi/sandbox_mount_point_provider.h" | 19 #include "webkit/fileapi/sandbox_mount_point_provider.h" |
20 #include "webkit/glue/webkit_glue.h" | 20 #include "webkit/glue/webkit_glue.h" |
21 | 21 |
22 #if defined(OS_CHROMEOS) | 22 #if defined(OS_CHROMEOS) |
23 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" | 23 #include "webkit/chromeos/fileapi/cros_mount_point_provider.h" |
24 #endif | 24 #endif |
25 | 25 |
26 // We use some of WebKit types for conversions between origin identifiers | 26 // We use some of WebKit types for conversions between origin identifiers |
27 // and origin URLs. | 27 // and origin URLs. |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 } | 180 } |
181 | 181 |
182 } // namespace fileapi | 182 } // namespace fileapi |
183 | 183 |
184 COMPILE_ASSERT(int(WebFileSystem::TypeTemporary) == \ | 184 COMPILE_ASSERT(int(WebFileSystem::TypeTemporary) == \ |
185 int(fileapi::kFileSystemTypeTemporary), mismatching_enums); | 185 int(fileapi::kFileSystemTypeTemporary), mismatching_enums); |
186 COMPILE_ASSERT(int(WebFileSystem::TypePersistent) == \ | 186 COMPILE_ASSERT(int(WebFileSystem::TypePersistent) == \ |
187 int(fileapi::kFileSystemTypePersistent), mismatching_enums); | 187 int(fileapi::kFileSystemTypePersistent), mismatching_enums); |
188 COMPILE_ASSERT(int(WebFileSystem::TypeExternal) == \ | 188 COMPILE_ASSERT(int(WebFileSystem::TypeExternal) == \ |
189 int(fileapi::kFileSystemTypeExternal), mismatching_enums); | 189 int(fileapi::kFileSystemTypeExternal), mismatching_enums); |
OLD | NEW |