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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_gtk.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_provider_gtk.h ('k') | ui/base/dragdrop/os_exchange_data_provider_win.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_provider_gtk.cc
diff --git a/ui/base/dragdrop/os_exchange_data_provider_gtk.cc b/ui/base/dragdrop/os_exchange_data_provider_gtk.cc
index 8211563f4955b0dcfbd735167f28281b31a19b46..5abbed2d76cf6ddeb32995daad2ef3e13ddd9acb 100644
--- a/ui/base/dragdrop/os_exchange_data_provider_gtk.cc
+++ b/ui/base/dragdrop/os_exchange_data_provider_gtk.cc
@@ -102,8 +102,8 @@ void OSExchangeDataProviderGtk::WriteFormatToSelection(
if ((format & OSExchangeData::FILE_NAME) != 0) {
gchar* uri_array[2];
- uri_array[0] =
- strdup(net::FilePathToFileURL(FilePath(filename_)).spec().c_str());
+ uri_array[0] = strdup(net::FilePathToFileURL(
+ base::FilePath(filename_)).spec().c_str());
uri_array[1] = NULL;
gtk_selection_data_set_uris(selection, uri_array);
free(uri_array[0]);
@@ -134,7 +134,7 @@ void OSExchangeDataProviderGtk::SetURL(const GURL& url, const string16& title) {
formats_ |= OSExchangeData::URL;
}
-void OSExchangeDataProviderGtk::SetFilename(const FilePath& path) {
+void OSExchangeDataProviderGtk::SetFilename(const base::FilePath& path) {
filename_ = path;
formats_ |= OSExchangeData::FILE_NAME;
}
@@ -167,7 +167,7 @@ bool OSExchangeDataProviderGtk::GetURLAndTitle(GURL* url,
return true;
}
-bool OSExchangeDataProviderGtk::GetFilename(FilePath* path) const {
+bool OSExchangeDataProviderGtk::GetFilename(base::FilePath* path) const {
if ((formats_ & OSExchangeData::FILE_NAME) == 0)
return false;
*path = filename_;
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_gtk.h ('k') | ui/base/dragdrop/os_exchange_data_provider_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698