Fix race condition in WebstoreInstallHelper.
[chromium-blink-merge.git] / chromeos / network / network_change_notifier_factory_chromeos.h
blob1a04fbf8935b06c31b09ea35e30d5ca0e67b988a
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_
6 #define CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chromeos/chromeos_export.h"
11 #include "net/base/network_change_notifier_factory.h"
13 namespace chromeos {
15 class NetworkChangeNotifierChromeos;
17 class CHROMEOS_EXPORT NetworkChangeNotifierFactoryChromeos
18 : public net::NetworkChangeNotifierFactory {
19 public:
20 NetworkChangeNotifierFactoryChromeos() {}
22 // net::NetworkChangeNotifierFactory overrides.
23 net::NetworkChangeNotifier* CreateInstance() override;
25 static NetworkChangeNotifierChromeos* GetInstance();
28 } // namespace chromeos
30 #endif // CHROMEOS_NETWORK_NETWORK_CHANGE_NOTIFIER_FACTORY_CHROMEOS_H_