Index: components/update_client/configurator.h |
diff --git a/components/update_client/configurator.h b/components/update_client/configurator.h |
index be2caff58d870274f40463d99995f94dc01e990b..9ee70df6bd9e05f92812382bb465bbcb464e1a2d 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,10 @@ 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. |
+ virtual std::unique_ptr<PersistedData> CreateMetadata() const = 0; |
+ |
protected: |
friend class base::RefCountedThreadSafe<Configurator>; |