Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5316)

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_status.cc

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));
}
}

Powered by Google App Engine
This is Rietveld 408576698