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

Unified Diff: content/public/browser/browser_context.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 | « content/public/browser/browser_child_process_host.h ('k') | content/public/browser/browser_ppapi_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 1bd59494fab136fc152719a5770d5bdba0df62ba..d82326af349346c468ef9a17908198c4f1b9794b 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -11,6 +11,12 @@
#include "base/supports_user_data.h"
#include "content/common/content_export.h"
+class GURL;
+
+namespace base {
+class FilePath;
+}
+
namespace fileapi {
class ExternalMountPoints;
}
@@ -23,9 +29,6 @@ namespace quota {
class SpecialStoragePolicy;
}
-class FilePath;
-class GURL;
-
namespace content {
class DownloadManager;
@@ -69,7 +72,7 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
// ownership of the pointer.
static void GarbageCollectStoragePartitions(
BrowserContext* browser_context,
- scoped_ptr<base::hash_set<FilePath> > active_paths,
+ scoped_ptr<base::hash_set<base::FilePath> > active_paths,
const base::Closure& done);
// DON'T USE THIS. GetDefaultStoragePartition() is going away.
@@ -94,7 +97,7 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
virtual ~BrowserContext();
// Returns the path of the directory where this context's data is stored.
- virtual FilePath GetPath() = 0;
+ virtual base::FilePath GetPath() = 0;
// Return whether this context is incognito. Default is false.
// This doesn't belong here; http://crbug.com/89628
@@ -114,7 +117,7 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
int renderer_child_id) = 0;
virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
- const FilePath& partition_path,
+ const base::FilePath& partition_path,
bool in_memory) = 0;
// Returns the default request context for media resources associated with
@@ -128,7 +131,7 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
int renderer_child_id) = 0;
virtual net::URLRequestContextGetter*
GetMediaRequestContextForStoragePartition(
- const FilePath& partition_path,
+ const base::FilePath& partition_path,
bool in_memory) = 0;
// Returns the resource context.
« no previous file with comments | « content/public/browser/browser_child_process_host.h ('k') | content/public/browser/browser_ppapi_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698