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

Unified Diff: chrome/browser/devtools/devtools_file_helper.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/devtools/devtools_file_helper.h
diff --git a/chrome/browser/devtools/devtools_file_helper.h b/chrome/browser/devtools/devtools_file_helper.h
index 42fcb7d46a6c4eeee15092a5f384a7f3ee1b018b..e97e5bd7e0a04a4530968b5300ae995edd44bff5 100644
--- a/chrome/browser/devtools/devtools_file_helper.h
+++ b/chrome/browser/devtools/devtools_file_helper.h
@@ -14,9 +14,12 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
-class FilePath;
class Profile;
+namespace base {
+class FilePath;
+}
+
namespace content {
class WebContents;
}
@@ -84,19 +87,21 @@ class DevToolsFileHelper {
void SaveAsFileSelected(const std::string& url,
const std::string& content,
const SaveCallback& callback,
- const FilePath& path);
+ const base::FilePath& path);
void SaveAsFileSelectionCanceled();
void InnerAddFileSystem(const AddFileSystemCallback& callback,
- const FilePath& path);
- void AddValidatedFileSystem(const AddFileSystemCallback& callback,
- const std::vector<FilePath>& permitted_paths);
- void RestoreValidatedFileSystems(const RequestFileSystemsCallback& callback,
- const std::vector<FilePath>& file_paths);
+ const base::FilePath& path);
+ void AddValidatedFileSystem(
+ const AddFileSystemCallback& callback,
+ const std::vector<base::FilePath>& permitted_paths);
+ void RestoreValidatedFileSystems(
+ const RequestFileSystemsCallback& callback,
+ const std::vector<base::FilePath>& file_paths);
content::WebContents* web_contents_;
Profile* profile_;
base::WeakPtrFactory<DevToolsFileHelper> weak_factory_;
- typedef std::map<std::string, FilePath> PathsMap;
+ typedef std::map<std::string, base::FilePath> PathsMap;
PathsMap saved_files_;
DISALLOW_COPY_AND_ASSIGN(DevToolsFileHelper);
};
« no previous file with comments | « chrome/browser/component_updater/component_updater_service.h ('k') | chrome/browser/diagnostics/diagnostics_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698