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

Unified Diff: ash/system/drive/tray_drive.cc

Issue 12211108: Rename FilePath -> base::FilePath in various toplevel directories (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « android_webview/native/aw_contents.cc ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/drive/tray_drive.cc
diff --git a/ash/system/drive/tray_drive.cc b/ash/system/drive/tray_drive.cc
index 626a833e954e88e030dcb8eec693f04442148626..1ebda4f23ba652566012f20de3c78d97fee54919 100644
--- a/ash/system/drive/tray_drive.cc
+++ b/ash/system/drive/tray_drive.cc
@@ -141,7 +141,7 @@ class DriveDetailedView : public TrayDetailsView,
RowView(DriveDetailedView* parent,
ash::DriveOperationStatus::OperationState state,
double progress,
- const FilePath& file_path)
+ const base::FilePath& file_path)
: HoverHighlightView(parent),
container_(parent),
status_img_(NULL),
@@ -259,7 +259,7 @@ class DriveDetailedView : public TrayDetailsView,
views::View* label_container_;
views::ProgressBar* progress_bar_;
views::ImageButton* cancel_button_;
- FilePath file_path_;
+ base::FilePath file_path_;
DISALLOW_COPY_AND_ASSIGN(RowView);
};
@@ -286,7 +286,7 @@ class DriveDetailedView : public TrayDetailsView,
return failed_img_;
}
- virtual void OnCancelOperation(const FilePath& file_path) {
+ virtual void OnCancelOperation(const base::FilePath& file_path) {
SystemTrayDelegate* delegate = Shell::GetInstance()->system_tray_delegate();
delegate->CancelDriveOperation(file_path);
}
@@ -296,14 +296,14 @@ class DriveDetailedView : public TrayDetailsView,
CreateScrollableList();
// Apply the update.
- std::set<FilePath> new_set;
+ std::set<base::FilePath> new_set;
bool item_list_changed = false;
for (DriveOperationStatusList::const_iterator it = list->begin();
it != list->end(); ++it) {
const DriveOperationStatus& operation = *it;
new_set.insert(operation.file_path);
- std::map<FilePath, RowView*>::iterator existing_item =
+ std::map<base::FilePath, RowView*>::iterator existing_item =
update_map_.find(operation.file_path);
if (existing_item != update_map_.end()) {
@@ -323,8 +323,8 @@ class DriveDetailedView : public TrayDetailsView,
// Remove items from the list that haven't been added or modified with this
// update batch.
- std::set<FilePath> remove_set;
- for (std::map<FilePath, RowView*>::iterator update_iter =
+ std::set<base::FilePath> remove_set;
+ for (std::map<base::FilePath, RowView*>::iterator update_iter =
update_map_.begin();
update_iter != update_map_.end(); ++update_iter) {
if (new_set.find(update_iter->first) == new_set.end()) {
@@ -332,7 +332,7 @@ class DriveDetailedView : public TrayDetailsView,
}
}
- for (std::set<FilePath>::iterator removed_iter = remove_set.begin();
+ for (std::set<base::FilePath>::iterator removed_iter = remove_set.begin();
removed_iter != remove_set.end(); ++removed_iter) {
delete update_map_[*removed_iter];
update_map_.erase(*removed_iter);
@@ -370,7 +370,7 @@ class DriveDetailedView : public TrayDetailsView,
}
// Maps operation entries to their file paths.
- std::map<FilePath, RowView*> update_map_;
+ std::map<base::FilePath, RowView*> update_map_;
views::View* settings_;
gfx::ImageSkia* in_progress_img_;
gfx::ImageSkia* done_img_;
« no previous file with comments | « android_webview/native/aw_contents.cc ('k') | ash/system/tray/system_tray_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698