summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ios/web/public/browser_state.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ios/web/public/browser_state.h b/ios/web/public/browser_state.h
index 47c398c..67e4192 100644
--- a/ios/web/public/browser_state.h
+++ b/ios/web/public/browser_state.h
@@ -7,6 +7,10 @@
#include "base/supports_user_data.h"
+namespace base {
+class FilePath;
+}
+
namespace net {
class URLRequestContextGetter;
}
@@ -23,6 +27,9 @@ class BrowserState : public base::SupportsUserData {
// Return whether this BrowserState is incognito. Default is false.
virtual bool IsOffTheRecord() const = 0;
+ // Retrieves the path where the BrowserState data is stored.
+ virtual base::FilePath GetPath() const = 0;
+
// Returns the request context information associated with this
// BrowserState.
virtual net::URLRequestContextGetter* GetRequestContext() = 0;