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

Unified Diff: chrome/browser/media_galleries/fileapi/itunes_data_provider.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/media_galleries/fileapi/itunes_data_provider.cc
diff --git a/chrome/browser/media_galleries/fileapi/itunes_data_provider.cc b/chrome/browser/media_galleries/fileapi/itunes_data_provider.cc
index c485df9e3d133c6ee810f6bd10823e7582441504..567f59a12da69f3baeec516ab410f9cc11d49c33 100644
--- a/chrome/browser/media_galleries/fileapi/itunes_data_provider.cc
+++ b/chrome/browser/media_galleries/fileapi/itunes_data_provider.cc
@@ -22,7 +22,7 @@
#include "chrome/browser/media_galleries/imported_media_gallery_registry.h"
#include "chrome/common/media_galleries/itunes_library.h"
#include "third_party/icu/source/common/unicode/locid.h"
-#include "webkit/browser/fileapi/native_file_util.h"
+#include "storage/browser/fileapi/native_file_util.h"
namespace itunes {
@@ -96,7 +96,7 @@ bool CheckLocaleStringAutoAddPath(
base::FilePath localized_auto_add_path =
media_path.Append(base::FilePath::FromUTF8Unsafe(it->second));
- if (!fileapi::NativeFileUtil::DirectoryExists(localized_auto_add_path))
+ if (!storage::NativeFileUtil::DirectoryExists(localized_auto_add_path))
return false;
*result_path = localized_auto_add_path;
@@ -113,7 +113,7 @@ base::FilePath GetAutoAddPath(const base::FilePath& library_path) {
// Test 'universal' path first.
base::FilePath universal_auto_add_path =
media_path.AppendASCII("Automatically Add to iTunes.localized");
- if (fileapi::NativeFileUtil::DirectoryExists(universal_auto_add_path))
+ if (storage::NativeFileUtil::DirectoryExists(universal_auto_add_path))
return universal_auto_add_path;
// Test user locale. Localized directory names encoded in UTF-8.

Powered by Google App Engine
This is Rietveld 408576698