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

Unified Diff: content/browser/renderer_host/render_view_host_unittest.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/renderer_host/render_view_host_unittest.cc
diff --git a/content/browser/renderer_host/render_view_host_unittest.cc b/content/browser/renderer_host/render_view_host_unittest.cc
index 1feaa74c514e25c4f78dab03fcd325c1d51aabb7..6e94708a84ff61ecaf120f89a690cf38924cde51 100644
--- a/content/browser/renderer_host/render_view_host_unittest.cc
+++ b/content/browser/renderer_host/render_view_host_unittest.cc
@@ -159,9 +159,9 @@ TEST_F(RenderViewHostTest, DragEnteredFileURLsStillBlocked) {
gfx::Point screen_point;
// We use "//foo/bar" path (rather than "/foo/bar") since dragged paths are
// expected to be absolute on any platforms.
- FilePath highlighted_file_path(FILE_PATH_LITERAL("//tmp/foo.html"));
- FilePath dragged_file_path(FILE_PATH_LITERAL("//tmp/image.jpg"));
- FilePath sensitive_file_path(FILE_PATH_LITERAL("//etc/passwd"));
+ base::FilePath highlighted_file_path(FILE_PATH_LITERAL("//tmp/foo.html"));
+ base::FilePath dragged_file_path(FILE_PATH_LITERAL("//tmp/image.jpg"));
+ base::FilePath sensitive_file_path(FILE_PATH_LITERAL("//etc/passwd"));
GURL highlighted_file_url = net::FilePathToFileURL(highlighted_file_path);
GURL dragged_file_url = net::FilePathToFileURL(dragged_file_path);
GURL sensitive_file_url = net::FilePathToFileURL(sensitive_file_path);

Powered by Google App Engine
This is Rietveld 408576698