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

Unified Diff: net/base/file_stream_context.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 | « net/base/file_stream.h ('k') | net/base/net_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/file_stream_context.h
diff --git a/net/base/file_stream_context.h b/net/base/file_stream_context.h
index 244c25f4c40d97d5a52a73b0f4805967673cf8ad..42fc0eb573c914039b08ecb6a91b07ac6a323ca5 100644
--- a/net/base/file_stream_context.h
+++ b/net/base/file_stream_context.h
@@ -39,7 +39,9 @@
#include <errno.h>
#endif
+namespace base {
class FilePath;
+}
namespace net {
@@ -97,10 +99,10 @@ class FileStream::Context {
// not closed yet.
void Orphan();
- void OpenAsync(const FilePath& path,
+ void OpenAsync(const base::FilePath& path,
int open_flags,
const CompletionCallback& callback);
- int OpenSync(const FilePath& path, int open_flags);
+ int OpenSync(const base::FilePath& path, int open_flags);
void CloseSync();
@@ -137,9 +139,9 @@ class FileStream::Context {
// Map system error into network error code and log it with |bound_net_log_|.
int RecordAndMapError(int error, FileErrorSource source) const;
- void BeginOpenEvent(const FilePath& path);
+ void BeginOpenEvent(const base::FilePath& path);
- OpenResult OpenFileImpl(const FilePath& path, int open_flags);
+ OpenResult OpenFileImpl(const base::FilePath& path, int open_flags);
int ProcessOpenError(int error_code);
void OnOpenCompleted(const CompletionCallback& callback, OpenResult result);
« no previous file with comments | « net/base/file_stream.h ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698