| Index: components/update_client/configurator.h
|
| diff --git a/components/component_updater/component_updater_configurator.h b/components/update_client/configurator.h
|
| similarity index 87%
|
| rename from components/component_updater/component_updater_configurator.h
|
| rename to components/update_client/configurator.h
|
| index 1eea184be90b75f99971ac81651a56505a79d8a4..b9a86faee434d248baba7cc53f10237e59849ed3 100644
|
| --- a/components/component_updater/component_updater_configurator.h
|
| +++ b/components/update_client/configurator.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_
|
| -#define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_
|
| +#ifndef COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_
|
| +#define COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_
|
|
|
| #include <string>
|
| #include <vector>
|
| @@ -23,11 +23,14 @@ namespace net {
|
| class URLRequestContextGetter;
|
| }
|
|
|
| -namespace component_updater {
|
| +namespace update_client {
|
|
|
| class OutOfProcessPatcher;
|
|
|
| // Controls the component updater behavior.
|
| +// TODO(sorin): this class will be split soon in two. One class controls
|
| +// the behavior of the update client, and the other class controls the
|
| +// behavior of the component updater.
|
| class Configurator {
|
| public:
|
| virtual ~Configurator() {}
|
| @@ -90,8 +93,8 @@ class Configurator {
|
|
|
| // Returns a new out of process patcher. May be NULL for implementations
|
| // that patch in-process.
|
| - virtual scoped_refptr<OutOfProcessPatcher> CreateOutOfProcessPatcher()
|
| - const = 0;
|
| + virtual scoped_refptr<update_client::OutOfProcessPatcher>
|
| + CreateOutOfProcessPatcher() const = 0;
|
|
|
| // True means that this client can handle delta updates.
|
| virtual bool DeltasEnabled() const = 0;
|
| @@ -108,9 +111,9 @@ class Configurator {
|
| // This thread must be capable of IO. On Windows, this thread must be
|
| // initialized for use of COM objects.
|
| virtual scoped_refptr<base::SingleThreadTaskRunner>
|
| - GetSingleThreadTaskRunner() const = 0;
|
| + GetSingleThreadTaskRunner() const = 0;
|
| };
|
|
|
| -} // namespace component_updater
|
| +} // namespace update_client
|
|
|
| -#endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_CONFIGURATOR_H_
|
| +#endif // COMPONENTS_UPDATE_CLIENT_CONFIGURATOR_H_
|
|
|