| Index: components/update_client/configurator.h
|
| diff --git a/components/update_client/configurator.h b/components/update_client/configurator.h
|
| index 177c4a7771b19a5142da98b2411be356e7cc902c..3da6de4ca6e7b63d8c82cfa7ea37d326c5f2deaf 100644
|
| --- a/components/update_client/configurator.h
|
| +++ b/components/update_client/configurator.h
|
| @@ -12,8 +12,10 @@
|
| #include "base/memory/scoped_ptr.h"
|
|
|
| class GURL;
|
| +class PrefService;
|
|
|
| namespace base {
|
| +class FilePath;
|
| class SequencedTaskRunner;
|
| class Version;
|
| }
|
| @@ -111,6 +113,14 @@ class Configurator : public base::RefCountedThreadSafe<Configurator> {
|
| virtual scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner()
|
| const = 0;
|
|
|
| + // Returns a PrefService that the update_client can use to store persistent
|
| + // update information. The PrefService must outlive the entire update_client,
|
| + // and be safe to access from the thread the update_client is constructed
|
| + // on.
|
| + // Returning NULL is safe and will disable any functionality that requires
|
| + // persistent storage.
|
| + virtual PrefService* GetPrefService() const = 0;
|
| +
|
| protected:
|
| friend class base::RefCountedThreadSafe<Configurator>;
|
|
|
|
|