| Index: chrome/browser/sync_file_system/local/local_file_sync_status.cc
|
| diff --git a/chrome/browser/sync_file_system/local/local_file_sync_status.cc b/chrome/browser/sync_file_system/local/local_file_sync_status.cc
|
| index 750e59ea372a563f61143e665b48f93ed847c2fd..990baf709b6a0d34cf008ccf57b1887f5363c42b 100644
|
| --- a/chrome/browser/sync_file_system/local/local_file_sync_status.cc
|
| +++ b/chrome/browser/sync_file_system/local/local_file_sync_status.cc
|
| @@ -6,10 +6,10 @@
|
|
|
| #include "base/logging.h"
|
| #include "base/stl_util.h"
|
| -#include "webkit/common/fileapi/file_system_util.h"
|
| +#include "storage/common/fileapi/file_system_util.h"
|
|
|
| -using fileapi::FileSystemURL;
|
| -using fileapi::FileSystemURLSet;
|
| +using storage::FileSystemURL;
|
| +using storage::FileSystemURLSet;
|
|
|
| namespace sync_file_system {
|
|
|
| @@ -17,7 +17,7 @@ namespace {
|
|
|
| typedef LocalFileSyncStatus::OriginAndType OriginAndType;
|
|
|
| -OriginAndType GetOriginAndType(const fileapi::FileSystemURL& url) {
|
| +OriginAndType GetOriginAndType(const storage::FileSystemURL& url) {
|
| return std::make_pair(url.origin(), url.type());
|
| }
|
|
|
| @@ -25,7 +25,7 @@ base::FilePath NormalizePath(const base::FilePath& path) {
|
| // Ensure |path| has single trailing path-separator, so that we can use
|
| // prefix-match to find descendants of |path| in an ordered container.
|
| return base::FilePath(path.StripTrailingSeparators().value() +
|
| - fileapi::VirtualPath::kSeparator);
|
| + storage::VirtualPath::kSeparator);
|
| }
|
|
|
| struct SetKeyHelper {
|
| @@ -63,11 +63,11 @@ bool ContainsChildOrParent(const Container& paths,
|
| if (ContainsKey(paths, normalized_path))
|
| return true;
|
|
|
| - if (fileapi::VirtualPath::IsRootPath(normalized_path))
|
| + if (storage::VirtualPath::IsRootPath(normalized_path))
|
| return false;
|
|
|
| normalized_path =
|
| - NormalizePath(fileapi::VirtualPath::DirName(normalized_path));
|
| + NormalizePath(storage::VirtualPath::DirName(normalized_path));
|
| }
|
| }
|
|
|
|
|