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

Unified Diff: ui/base/resource/data_pack.h

Issue 12163003: Add FilePath to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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
« no previous file with comments | « ui/base/dragdrop/download_file_interface.h ('k') | ui/base/text/text_elider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ui/base/dragdrop/download_file_interface.h ('k') | ui/base/text/text_elider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698