Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index fec68dc320f51bc4e835923ffd565fca847419c1..1508fb04a70683a3204cd4796d509253fa70a4b9 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/supports_user_data.h" |
#include "content/common/content_export.h" |
+#include "content/public/browser/zoom_level_delegate.h" |
#include "content/public/common/push_messaging_status.h" |
class GURL; |
@@ -111,6 +112,13 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData { |
~BrowserContext() override; |
+ // Override to provide for creation of a delegate that can be used to persist |
Charlie Reis
2014/11/04 23:43:17
This is too wordy to follow. Maybe:
Creates a de
wjmaclean
2014/11/05 21:55:42
Done.
|
+ // data stored in a HostZoomMap. The delegate is used to initialize the |
+ // HostZoomMap and persist its information. This is called during creation |
+ // of each StoragePartition. |
+ virtual scoped_ptr<ZoomLevelDelegate> CreateZoomLevelDelegate( |
+ const base::FilePath& partition_path); |
Charlie Reis
2014/11/04 23:43:17
This should be pure abstract, like all the other m
wjmaclean
2014/11/05 21:55:42
Done.
|
+ |
// Returns the path of the directory where this context's data is stored. |
virtual base::FilePath GetPath() const = 0; |