Index: ui/base/resource/data_pack.h |
diff --git a/ui/base/resource/data_pack.h b/ui/base/resource/data_pack.h |
index 08947af7b80a65be76b80628c5ce427b67984dcb..40913cb978842933d33b81bc95e19ce395fa1094 100644 |
--- a/ui/base/resource/data_pack.h |
+++ b/ui/base/resource/data_pack.h |
@@ -19,9 +19,8 @@ |
#include "ui/base/resource/resource_handle.h" |
#include "ui/base/ui_export.h" |
-class FilePath; |
- |
namespace base { |
+class FilePath; |
class RefCountedStaticMemory; |
} |
@@ -37,7 +36,7 @@ class UI_EXPORT DataPack : public ResourceHandle { |
virtual ~DataPack(); |
// Load a pack file from |path|, returning false on error. |
- bool LoadFromPath(const FilePath& path); |
+ bool LoadFromPath(const base::FilePath& path); |
// Loads a pack file from |file|, returning false on error. |
bool LoadFromFile(base::PlatformFile file); |
@@ -46,7 +45,7 @@ class UI_EXPORT DataPack : public ResourceHandle { |
// text resources to be written, their encoding must already agree to the |
// |textEncodingType| specified. If no text resources are present, please |
// indicate BINARY. |
- static bool WritePack(const FilePath& path, |
+ static bool WritePack(const base::FilePath& path, |
const std::map<uint16, base::StringPiece>& resources, |
TextEncodingType textEncodingType); |