diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-22 12:56:33 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-08-22 12:56:33 +0000 |
commit | 46be5f76290617d58d612f9d4487f03e621848be (patch) | |
tree | 8c53b8a10f096a39fcff0b40f6aca6bf7bfb6fd7 /remoting | |
parent | e0faa290255492c125ac18db682161432bff4d4f (diff) | |
download | chromium_src-46be5f76290617d58d612f9d4487f03e621848be.zip chromium_src-46be5f76290617d58d612f9d4487f03e621848be.tar.gz chromium_src-46be5f76290617d58d612f9d4487f03e621848be.tar.bz2 |
remoting: Get rid of a static variable of a std::string type, which is forbidden.
I'm removing it because it isn't used anywhere else. Otherwise it would be converted to:
static const char kCreateSessionURL[] = "/create_session";
Or even better:
namespace {
const char kCreateSessionURL[] = "/create_session";
} // namespace
BUG=83856
TEST=None
R=hclam@chromium.org
Review URL: http://codereview.chromium.org/7695017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r-- | remoting/client/plugin/pepper_port_allocator_session.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/remoting/client/plugin/pepper_port_allocator_session.cc b/remoting/client/plugin/pepper_port_allocator_session.cc index 8127b76..cf83a4c 100644 --- a/remoting/client/plugin/pepper_port_allocator_session.cc +++ b/remoting/client/plugin/pepper_port_allocator_session.cc @@ -26,7 +26,6 @@ namespace { static const int kHostPort = 80; static const int kNumRetries = 5; -static const std::string kCreateSessionURL = "/create_session"; // Define a SessionFactory in the anonymouse namespace so we have a // shorter name. |