Index: components/update_client/configurator.h |
diff --git a/components/update_client/configurator.h b/components/update_client/configurator.h |
index be2caff58d870274f40463d99995f94dc01e990b..fe776985e6b07507d9a6442a5ad9ccd618091d76 100644 |
--- a/components/update_client/configurator.h |
+++ b/components/update_client/configurator.h |
@@ -26,6 +26,7 @@ class URLRequestContextGetter; |
namespace update_client { |
class OutOfProcessPatcher; |
+class PersistedData; |
// Controls the component updater behavior. |
// TODO(sorin): this class will be split soon in two. One class controls |
@@ -133,6 +134,11 @@ class Configurator : public base::RefCountedThreadSafe<Configurator> { |
// called only from a blocking pool thread, as it may access the file system. |
virtual bool IsPerUserInstall() const = 0; |
+ // Returns a PersistedData object that update_client can use to store |
+ // persistent update information. Note that the caller is responsbile to |
+ // release the object. |
+ virtual PersistedData* CreateMetadata() const = 0; |
+ |
protected: |
friend class base::RefCountedThreadSafe<Configurator>; |