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

Unified Diff: content/browser/web_contents/web_drag_source_gtk.cc

Issue 12213066: Use base namespace for FilePath in content/browser (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
Index: content/browser/web_contents/web_drag_source_gtk.cc
diff --git a/content/browser/web_contents/web_drag_source_gtk.cc b/content/browser/web_contents/web_drag_source_gtk.cc
index b1dda3222b0366a9e7d4f93bf934fd895bfedd24..c3a786f9a2dd8de118d54b1e6abba9376314e202 100644
--- a/content/browser/web_contents/web_drag_source_gtk.cc
+++ b/content/browser/web_contents/web_drag_source_gtk.cc
@@ -239,7 +239,7 @@ void WebDragSourceGtk::OnDragDataGet(GtkWidget* sender,
GURL file_url(std::string(reinterpret_cast<char*>(file_url_value),
file_url_len));
g_free(file_url_value);
- FilePath file_path;
+ base::FilePath file_path;
if (net::FileURLToFilePath(file_url, &file_path)) {
// Open the file as a stream.
scoped_ptr<net::FileStream> file_stream(
@@ -316,7 +316,7 @@ void WebDragSourceGtk::OnDragBegin(GtkWidget* sender,
// Generate the file name based on both mime type and proposed file name.
std::string default_name =
GetContentClient()->browser()->GetDefaultDownloadName();
- FilePath generated_download_file_name =
+ base::FilePath generated_download_file_name =
net::GenerateFileName(download_url_,
std::string(),
std::string(),
« no previous file with comments | « content/browser/web_contents/web_drag_source_gtk.h ('k') | content/browser/web_contents/web_drag_source_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698