summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-17 04:36:00 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-17 04:36:00 +0000
commit0eff7727fd699c861273b13039b37e6bcbe92217 (patch)
treee05d933fe1215132f41a854ef63b707d58d1d6d7 /remoting
parentccc1179e33ec493230fd19fdbdba3c4084bc8b9a (diff)
downloadchromium_src-0eff7727fd699c861273b13039b37e6bcbe92217.zip
chromium_src-0eff7727fd699c861273b13039b37e6bcbe92217.tar.gz
chromium_src-0eff7727fd699c861273b13039b37e6bcbe92217.tar.bz2
Move PepperNetworkManager to client/plugin
Review URL: http://codereview.chromium.org/10103016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132533 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/client/plugin/pepper_network_manager.cc (renamed from remoting/protocol/pepper_network_manager.cc)4
-rw-r--r--remoting/client/plugin/pepper_network_manager.h (renamed from remoting/protocol/pepper_network_manager.h)8
-rw-r--r--remoting/remoting.gyp4
3 files changed, 6 insertions, 10 deletions
diff --git a/remoting/protocol/pepper_network_manager.cc b/remoting/client/plugin/pepper_network_manager.cc
index f7b754f..20dbd43 100644
--- a/remoting/protocol/pepper_network_manager.cc
+++ b/remoting/client/plugin/pepper_network_manager.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "remoting/protocol/pepper_network_manager.h"
+#include "remoting/client/plugin/pepper_network_manager.h"
#include "base/bind.h"
#include "base/message_loop.h"
@@ -11,7 +11,6 @@
#include "ppapi/cpp/private/net_address_private.h"
namespace remoting {
-namespace protocol {
PepperNetworkManager::PepperNetworkManager(const pp::InstanceHandle& instance)
: monitor_(instance, &PepperNetworkManager::OnNetworkListCallbackHandler,
@@ -110,5 +109,4 @@ void PepperNetworkManager::SendNetworksChangedSignal() {
SignalNetworksChanged();
}
-} // namespace protocol
} // namespace remoting
diff --git a/remoting/protocol/pepper_network_manager.h b/remoting/client/plugin/pepper_network_manager.h
index 55b0abb..d992358 100644
--- a/remoting/protocol/pepper_network_manager.h
+++ b/remoting/client/plugin/pepper_network_manager.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef REMOTING_PROTOCOL_PEPPER_NETWORK_MANAGER_H_
-#define REMOTING_PROTOCOL_PEPPER_NETWORK_MANAGER_H_
+#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_
+#define REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
@@ -16,7 +16,6 @@ class NetworkListPrivate;
} // namespace pp
namespace remoting {
-namespace protocol {
// PepperNetworkManager uses the PPB_NetworkMonitor_Private API to
// implement the NetworkManager interface that libjingle uses to
@@ -45,7 +44,6 @@ class PepperNetworkManager : public talk_base::NetworkManagerBase {
base::WeakPtrFactory<PepperNetworkManager> weak_factory_;
};
-} // namespace protocol
} // namespace remoting
-#endif // REMOTING_PROTOCOL_PEPPER_NETWORK_MANAGER_H_
+#endif // REMOTING_CLIENT_PLUGIN_PEPPER_NETWORK_MANAGER_H_
diff --git a/remoting/remoting.gyp b/remoting/remoting.gyp
index f440327..040554d 100644
--- a/remoting/remoting.gyp
+++ b/remoting/remoting.gyp
@@ -537,6 +537,8 @@
'client/plugin/pepper_entrypoints.h',
'client/plugin/pepper_input_handler.cc',
'client/plugin/pepper_input_handler.h',
+ 'client/plugin/pepper_network_manager.cc',
+ 'client/plugin/pepper_network_manager.h',
'client/plugin/pepper_plugin_thread_delegate.cc',
'client/plugin/pepper_plugin_thread_delegate.h',
'client/plugin/pepper_view.cc',
@@ -1292,8 +1294,6 @@
'protocol/message_reader.h',
'protocol/negotiating_authenticator.cc',
'protocol/negotiating_authenticator.h',
- 'protocol/pepper_network_manager.cc',
- 'protocol/pepper_network_manager.h',
'protocol/pepper_transport_factory.cc',
'protocol/pepper_transport_factory.h',
'protocol/pepper_transport_socket_adapter.cc',