summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:34:40 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-28 00:34:40 +0000
commitda9ccfb9ad498ff45b8d553968e0de01ac46fb28 (patch)
tree0d6084c8e7b15a627d2bf16cc62bc3a7bd346051 /remoting
parent6f1485ee6a559b469b93f6fb56b0e70dc8b3edf1 (diff)
downloadchromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.zip
chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.gz
chromium_src-da9ccfb9ad498ff45b8d553968e0de01ac46fb28.tar.bz2
Cleanup: Remove static storage for variables in an unnamed namespace.
BUG=none TEST=none R=binji Review URL: https://chromiumcodereview.appspot.com/9271061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/client/chromoting_stats.cc4
-rw-r--r--remoting/protocol/jingle_messages.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/remoting/client/chromoting_stats.cc b/remoting/client/chromoting_stats.cc
index 604319d..71b7199 100644
--- a/remoting/client/chromoting_stats.cc
+++ b/remoting/client/chromoting_stats.cc
@@ -7,10 +7,10 @@
namespace {
// The default window of bandwidth and frame rate in seconds.
-static const int kTimeWindow = 3;
+const int kTimeWindow = 3;
// We take the last 10 latency numbers and report the average.
-static const int kLatencyWindow = 10;
+const int kLatencyWindow = 10;
} // namespace
diff --git a/remoting/protocol/jingle_messages.cc b/remoting/protocol/jingle_messages.cc
index 1e70a2b..9684cab 100644
--- a/remoting/protocol/jingle_messages.cc
+++ b/remoting/protocol/jingle_messages.cc
@@ -55,7 +55,7 @@ T NameToValue(const NameMapElement<T> map[], size_t map_size,
return default_value;
}
-static const NameMapElement<JingleMessage::ActionType> kActionTypes[] = {
+const NameMapElement<JingleMessage::ActionType> kActionTypes[] = {
{ JingleMessage::SESSION_INITIATE, "session-initiate" },
{ JingleMessage::SESSION_ACCEPT, "session-accept" },
{ JingleMessage::SESSION_TERMINATE, "session-terminate" },
@@ -63,7 +63,7 @@ static const NameMapElement<JingleMessage::ActionType> kActionTypes[] = {
{ JingleMessage::TRANSPORT_INFO, "transport-info" },
};
-static const NameMapElement<JingleMessage::Reason> kReasons[] = {
+const NameMapElement<JingleMessage::Reason> kReasons[] = {
{ JingleMessage::SUCCESS, "success" },
{ JingleMessage::DECLINE, "decline" },
{ JingleMessage::GENERAL_ERROR, "general-error" },