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

Unified Diff: chrome/browser/net/url_fixer_upper.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
« no previous file with comments | « chrome/browser/net/sqlite_server_bound_cert_store.h ('k') | chrome/browser/parsers/metadata_parser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/url_fixer_upper.h
diff --git a/chrome/browser/net/url_fixer_upper.h b/chrome/browser/net/url_fixer_upper.h
index 72e07a935bc914a54263bc0228d1a6de8df8d577..0a137d88df150008bda0dc249821af5d17c63a6c 100644
--- a/chrome/browser/net/url_fixer_upper.h
+++ b/chrome/browser/net/url_fixer_upper.h
@@ -10,12 +10,14 @@
#include "base/string16.h"
#include "googleurl/src/gurl.h"
-namespace url_parse {
- struct Component;
- struct Parsed;
+namespace base {
+class FilePath;
}
-class FilePath;
+namespace url_parse {
+struct Component;
+struct Parsed;
+}
// This object is designed to convert various types of input into URLs that we
// know are valid. For example, user typing in the URL bar or command line
@@ -62,7 +64,7 @@ namespace URLFixerUpper {
// For "regular" input, even if it is possibly a file with a full path, you
// should use FixupURL() directly. This function should only be used when
// relative path handling is desired, as for command line processing.
- GURL FixupRelativeFile(const FilePath& base_dir, const FilePath& text);
+ GURL FixupRelativeFile(const base::FilePath& base_dir, const base::FilePath& text);
// Offsets the beginning index of |part| by |offset|, which is allowed to be
// negative. In some cases, the desired component does not exist at the given
« no previous file with comments | « chrome/browser/net/sqlite_server_bound_cert_store.h ('k') | chrome/browser/parsers/metadata_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698