| Index: components/update_client/request_sender.cc
|
| diff --git a/components/component_updater/request_sender.cc b/components/update_client/request_sender.cc
|
| similarity index 81%
|
| rename from components/component_updater/request_sender.cc
|
| rename to components/update_client/request_sender.cc
|
| index da6f7940db70f9898e6b7eebade3f14833834508..726c2faea6d23174d9ccb80048832106033a6e9d 100644
|
| --- a/components/component_updater/request_sender.cc
|
| +++ b/components/update_client/request_sender.cc
|
| @@ -2,7 +2,7 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "components/component_updater/request_sender.h"
|
| +#include "components/update_client/request_sender.h"
|
|
|
| #include "base/bind.h"
|
| #include "base/bind_helpers.h"
|
| @@ -10,11 +10,11 @@
|
| #include "base/logging.h"
|
| #include "base/single_thread_task_runner.h"
|
| #include "base/thread_task_runner_handle.h"
|
| -#include "components/component_updater/component_updater_configurator.h"
|
| -#include "components/component_updater/component_updater_utils.h"
|
| +#include "components/update_client/configurator.h"
|
| +#include "components/update_client/utils.h"
|
| #include "net/url_request/url_fetcher.h"
|
|
|
| -namespace component_updater {
|
| +namespace update_client {
|
|
|
| RequestSender::RequestSender(const Configurator& config) : config_(config) {
|
| }
|
| @@ -46,8 +46,8 @@ void RequestSender::SendInternal() {
|
| DCHECK(cur_url_->is_valid());
|
| DCHECK(thread_checker_.CalledOnValidThread());
|
|
|
| - url_fetcher_.reset(SendProtocolRequest(
|
| - *cur_url_, request_string_, this, config_.RequestContext()));
|
| + url_fetcher_.reset(SendProtocolRequest(*cur_url_, request_string_, this,
|
| + config_.RequestContext()));
|
| }
|
|
|
| void RequestSender::OnURLFetchComplete(const net::URLFetcher* source) {
|
| @@ -67,4 +67,4 @@ void RequestSender::OnURLFetchComplete(const net::URLFetcher* source) {
|
| request_sender_callback_.Run(source);
|
| }
|
|
|
| -} // namespace component_updater
|
| +} // namespace update_client
|
|
|