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

Unified Diff: ui/base/dragdrop/os_exchange_data.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level 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 | « ui/base/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/dragdrop/os_exchange_data.cc
diff --git a/ui/base/dragdrop/os_exchange_data.cc b/ui/base/dragdrop/os_exchange_data.cc
index 12eddebfedbd7645ec536b5c542770374dd74ebc..c19a6958657b6625d727730c03be9f6eb3494aab 100644
--- a/ui/base/dragdrop/os_exchange_data.cc
+++ b/ui/base/dragdrop/os_exchange_data.cc
@@ -10,7 +10,7 @@
namespace ui {
OSExchangeData::DownloadFileInfo::DownloadFileInfo(
- const FilePath& filename,
+ const base::FilePath& filename,
DownloadFileProvider* downloader)
: filename(filename),
downloader(downloader) {
@@ -19,8 +19,8 @@ OSExchangeData::DownloadFileInfo::DownloadFileInfo(
OSExchangeData::DownloadFileInfo::~DownloadFileInfo() {}
OSExchangeData::FileInfo::FileInfo(
- const FilePath& path,
- const FilePath& display_name)
+ const base::FilePath& path,
+ const base::FilePath& display_name)
: path(path),
display_name(display_name) {
}
@@ -44,7 +44,7 @@ void OSExchangeData::SetURL(const GURL& url, const string16& title) {
provider_->SetURL(url, title);
}
-void OSExchangeData::SetFilename(const FilePath& path) {
+void OSExchangeData::SetFilename(const base::FilePath& path) {
provider_->SetFilename(path);
}
@@ -65,7 +65,7 @@ bool OSExchangeData::GetURLAndTitle(GURL* url, string16* title) const {
return provider_->GetURLAndTitle(url, title);
}
-bool OSExchangeData::GetFilename(FilePath* path) const {
+bool OSExchangeData::GetFilename(base::FilePath* path) const {
return provider_->GetFilename(path);
}
@@ -145,12 +145,12 @@ bool OSExchangeData::HasAnyFormat(
}
#if defined(OS_WIN)
-void OSExchangeData::SetFileContents(const FilePath& filename,
+void OSExchangeData::SetFileContents(const base::FilePath& filename,
const std::string& file_contents) {
provider_->SetFileContents(filename, file_contents);
}
-bool OSExchangeData::GetFileContents(FilePath* filename,
+bool OSExchangeData::GetFileContents(base::FilePath* filename,
std::string* file_contents) const {
return provider_->GetFileContents(filename, file_contents);
}
« no previous file with comments | « ui/base/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698