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

Unified Diff: chrome/installer/util/work_item_list.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 | « chrome/installer/util/work_item.h ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/work_item_list.h
diff --git a/chrome/installer/util/work_item_list.h b/chrome/installer/util/work_item_list.h
index f350f39160b4008e44a87f5f31fbd111f65cbe48..29a458742e3fc185db8c19b351db0fc99c4f3eb4 100644
--- a/chrome/installer/util/work_item_list.h
+++ b/chrome/installer/util/work_item_list.h
@@ -15,7 +15,9 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/installer/util/work_item.h"
+namespace base {
class FilePath;
+}
// A WorkItem subclass that recursively contains a list of WorkItems. Thus it
// provides functionalities to carry out or roll back the sequence of actions
@@ -58,7 +60,7 @@ class WorkItemList : public WorkItem {
const std::wstring& alternative_path = L"");
// Add a CreateDirWorkItem that creates a directory at the given path.
- virtual WorkItem* AddCreateDirWorkItem(const FilePath& path);
+ virtual WorkItem* AddCreateDirWorkItem(const base::FilePath& path);
// Add a CreateRegKeyWorkItem that creates a registry key at the given
// path.
@@ -80,13 +82,13 @@ class WorkItemList : public WorkItem {
// hierarchy at the given root path. A key file can be optionally specified
// by key_path.
virtual WorkItem* AddDeleteTreeWorkItem(
- const FilePath& root_path,
- const FilePath& temp_path,
- const std::vector<FilePath>& key_paths);
+ const base::FilePath& root_path,
+ const base::FilePath& temp_path,
+ const std::vector<base::FilePath>& key_paths);
// Same as above but without support for key files.
- virtual WorkItem* AddDeleteTreeWorkItem(const FilePath& root_path,
- const FilePath& temp_path);
+ virtual WorkItem* AddDeleteTreeWorkItem(const base::FilePath& root_path,
+ const base::FilePath& temp_path);
// Add a MoveTreeWorkItem to the list of work items.
virtual WorkItem* AddMoveTreeWorkItem(const std::wstring& source_path,
« no previous file with comments | « chrome/installer/util/work_item.h ('k') | chrome/renderer/chrome_content_renderer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698