| Index: chromeos/network/connection_change_notifier_factory.h
|
| diff --git a/chromeos/network/connection_change_notifier_factory.h b/chromeos/network/connection_change_notifier_factory.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4155e5a1b04ba40e393f1f94168d6f4769877508
|
| --- /dev/null
|
| +++ b/chromeos/network/connection_change_notifier_factory.h
|
| @@ -0,0 +1,30 @@
|
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CHROMEOS_NETWORK_CONNECTION_CHANGE_NOTIFIER_FACTORY_H_
|
| +#define CHROMEOS_NETWORK_CONNECTION_CHANGE_NOTIFIER_FACTORY_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +#include "base/compiler_specific.h"
|
| +#include "chromeos/chromeos_export.h"
|
| +#include "net/base/network_change_notifier_factory.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +class ConnectionChangeNotifier;
|
| +
|
| +class CHROMEOS_EXPORT ConnectionChangeNotifierFactory :
|
| + public net::NetworkChangeNotifierFactory {
|
| + public:
|
| + ConnectionChangeNotifierFactory() {}
|
| +
|
| + // net::NetworkChangeNotifierFactory overrides.
|
| + virtual net::NetworkChangeNotifier* CreateInstance() OVERRIDE;
|
| +
|
| + static ConnectionChangeNotifier* GetInstance();
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_NETWORK_CONNECTION_CHANGE_NOTIFIER_FACTORY_H_
|
|
|