| Index: content/browser/power_save_blocker_impl.cc
|
| diff --git a/chrome/common/net/net_error_info.h b/content/browser/power_save_blocker_impl.cc
|
| similarity index 33%
|
| copy from chrome/common/net/net_error_info.h
|
| copy to content/browser/power_save_blocker_impl.cc
|
| index 9f8d08a1baabe1b741fa69d2761ec50ff59ae667..01007ad9afa38a0b00e93939c9da7b0b76653ce4 100644
|
| --- a/chrome/common/net/net_error_info.h
|
| +++ b/content/browser/power_save_blocker_impl.cc
|
| @@ -2,19 +2,17 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_COMMON_NET_NET_ERROR_INFO_H_
|
| -#define CHROME_COMMON_NET_NET_ERROR_INFO_H_
|
| +#include "content/browser/power_save_blocker_impl.h"
|
|
|
| -namespace chrome_common_net {
|
| +namespace content {
|
|
|
| -enum DnsProbeResult {
|
| - DNS_PROBE_UNKNOWN,
|
| - DNS_PROBE_NO_INTERNET,
|
| - DNS_PROBE_BAD_CONFIG,
|
| - DNS_PROBE_NXDOMAIN,
|
| - DNS_PROBE_MAX
|
| -};
|
| +PowerSaveBlocker::~PowerSaveBlocker() {}
|
|
|
| -} // namespace chrome_common_net
|
| +// static
|
| +scoped_ptr<PowerSaveBlocker> PowerSaveBlocker::Create(
|
| + PowerSaveBlockerType type,
|
| + const std::string& reason) {
|
| + return scoped_ptr<PowerSaveBlocker>(new PowerSaveBlockerImpl(type, reason));
|
| +}
|
|
|
| -#endif // CHROME_COMMON_NET_NET_ERROR_INFO_H_
|
| +} // namespace content
|
|
|