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

Unified Diff: jingle/glue/fake_network_manager.h

Issue 400093002: Remove jingle_glue_test_util target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | « content/content_tests.gypi ('k') | jingle/glue/fake_network_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/glue/fake_network_manager.h
diff --git a/jingle/glue/fake_network_manager.h b/jingle/glue/fake_network_manager.h
deleted file mode 100644
index 01e2f9105cd93365feb02a1b54800d227d1338c5..0000000000000000000000000000000000000000
--- a/jingle/glue/fake_network_manager.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2011 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 JINGLE_GLUE_FAKE_NETWORK_MANAGER_H_
-#define JINGLE_GLUE_FAKE_NETWORK_MANAGER_H_
-
-#include <vector>
-
-#include "base/compiler_specific.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/memory/weak_ptr.h"
-#include "net/base/net_util.h"
-#include "third_party/libjingle/source/talk/base/network.h"
-
-namespace jingle_glue {
-
-// FakeNetworkManager always returns one interface with the IP address
-// specified in the constructor.
-class FakeNetworkManager : public talk_base::NetworkManager {
- public:
- FakeNetworkManager(const net::IPAddressNumber& address);
- virtual ~FakeNetworkManager();
-
- // talk_base::NetworkManager interface.
- virtual void StartUpdating() OVERRIDE;
- virtual void StopUpdating() OVERRIDE;
- virtual void GetNetworks(NetworkList* networks) const OVERRIDE;
-
- protected:
- void SendNetworksChangedSignal();
-
- bool started_;
- scoped_ptr<talk_base::Network> network_;
-
- base::WeakPtrFactory<FakeNetworkManager> weak_factory_;
-};
-
-} // namespace jingle_glue
-
-#endif // JINGLE_GLUE_FAKE_NETWORK_MANAGER_H_
« no previous file with comments | « content/content_tests.gypi ('k') | jingle/glue/fake_network_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698