Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2460)

Unified Diff: net/base/network_change_notifier_linux.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/network_change_notifier_factory.h ('k') | net/base/network_change_notifier_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_linux.h
diff --git a/net/base/network_change_notifier_linux.h b/net/base/network_change_notifier_linux.h
deleted file mode 100644
index 5a0f6dff308afeca8d64b2fe21963a1e703086e0..0000000000000000000000000000000000000000
--- a/net/base/network_change_notifier_linux.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// 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 NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_
-#define NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "net/base/net_export.h"
-#include "net/base/network_change_notifier.h"
-
-namespace net {
-
-class NET_EXPORT_PRIVATE NetworkChangeNotifierLinux
- : public NetworkChangeNotifier {
- public:
- static NetworkChangeNotifierLinux* Create();
-
- private:
- class Thread;
-
- NetworkChangeNotifierLinux();
- ~NetworkChangeNotifierLinux() override;
- static NetworkChangeCalculatorParams NetworkChangeCalculatorParamsLinux();
-
- // NetworkChangeNotifier:
- ConnectionType GetCurrentConnectionType() const override;
-
- const internal::AddressTrackerLinux* GetAddressTrackerInternal()
- const override;
-
- // The thread used to listen for notifications. This relays the notification
- // to the registered observers without posting back to the thread the object
- // was created on.
- // Also used for DnsConfigService which requires TYPE_IO message loop.
- scoped_ptr<Thread> notifier_thread_;
-
- DISALLOW_COPY_AND_ASSIGN(NetworkChangeNotifierLinux);
-};
-
-} // namespace net
-
-#endif // NET_BASE_NETWORK_CHANGE_NOTIFIER_LINUX_H_
« no previous file with comments | « net/base/network_change_notifier_factory.h ('k') | net/base/network_change_notifier_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698