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

Unified Diff: chrome/browser/chromeos/drive/drive_prefetcher.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
Index: chrome/browser/chromeos/drive/drive_prefetcher.h
diff --git a/chrome/browser/chromeos/drive/drive_prefetcher.h b/chrome/browser/chromeos/drive/drive_prefetcher.h
index 39e08f9dbb223db7a2c5c609e336672329b03c48..4bb599cd07ec0080c81adcad8b0c1f62a6f3518e 100644
--- a/chrome/browser/chromeos/drive/drive_prefetcher.h
+++ b/chrome/browser/chromeos/drive/drive_prefetcher.h
@@ -17,7 +17,9 @@
#include "chrome/browser/chromeos/drive/drive_file_system_observer.h"
#include "chrome/browser/chromeos/drive/drive_sync_client_observer.h"
+namespace base {
class FilePath;
+}
namespace drive {
@@ -45,7 +47,8 @@ class DrivePrefetcher : public DriveFileSystemObserver,
// DriveFileSystemObserver overrides.
virtual void OnInitialLoadFinished(DriveFileError error) OVERRIDE;
- virtual void OnDirectoryChanged(const FilePath& directory_path) OVERRIDE;
+ virtual void OnDirectoryChanged(
+ const base::FilePath& directory_path) OVERRIDE;
// DriveSyncClientObserver overrides.
virtual void OnSyncTaskStarted() OVERRIDE;
@@ -63,7 +66,7 @@ class DrivePrefetcher : public DriveFileSystemObserver,
// Called when DoPrefetch is done.
void OnPrefetchFinished(const std::string& resource_id,
DriveFileError error,
- const FilePath& file_path,
+ const base::FilePath& file_path,
const std::string& mime_type,
DriveFileType file_type);
@@ -72,8 +75,8 @@ class DrivePrefetcher : public DriveFileSystemObserver,
// Helper methods to traverse over the file system.
void VisitFile(const DriveEntryProto& entry);
- void VisitDirectory(const FilePath& directory_path);
- void OnReadDirectory(const FilePath& directory_path,
+ void VisitDirectory(const base::FilePath& directory_path);
+ void OnReadDirectory(const base::FilePath& directory_path,
DriveFileError error,
bool hide_hosted_documents,
scoped_ptr<DriveEntryProtoVector> entries);
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_system_util.h ('k') | chrome/browser/chromeos/drive/drive_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698