| Index: chrome/browser/media/router/discovery/dial/device_description_fetcher.cc
|
| diff --git a/chrome/browser/extensions/api/dial/device_description_fetcher.cc b/chrome/browser/media/router/discovery/dial/device_description_fetcher.cc
|
| similarity index 95%
|
| rename from chrome/browser/extensions/api/dial/device_description_fetcher.cc
|
| rename to chrome/browser/media/router/discovery/dial/device_description_fetcher.cc
|
| index 7be4b199367e06b3110989a1a54d1c6b8467991a..42f098afc1fbc0c080a40fe95243b8bab8096e4f 100644
|
| --- a/chrome/browser/extensions/api/dial/device_description_fetcher.cc
|
| +++ b/chrome/browser/media/router/discovery/dial/device_description_fetcher.cc
|
| @@ -2,11 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "chrome/browser/extensions/api/dial/device_description_fetcher.h"
|
| +#include "chrome/browser/media/router/discovery/dial/device_description_fetcher.h"
|
|
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/stringprintf.h"
|
| -#include "chrome/browser/extensions/api/dial/dial_device_data.h"
|
| +#include "chrome/browser/media/router/discovery/dial/dial_device_data.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "net/base/load_flags.h"
|
| @@ -24,9 +24,7 @@ constexpr int kMaxRetries = 3;
|
| // should be more than sufficient.
|
| constexpr int kMaxDescriptionSizeBytes = 262144;
|
|
|
| -namespace extensions {
|
| -namespace api {
|
| -namespace dial {
|
| +namespace media_router {
|
|
|
| DeviceDescriptionFetcher::DeviceDescriptionFetcher(
|
| const GURL& device_description_url,
|
| @@ -146,6 +144,4 @@ void DeviceDescriptionFetcher::ReportError(const std::string& message) {
|
| std::move(error_cb_).Run(message);
|
| }
|
|
|
| -} // namespace dial
|
| -} // namespace api
|
| -} // namespace extensions
|
| +} // namespace media_router
|
|
|