diff options
author | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-27 05:24:50 +0000 |
---|---|---|
committer | teravest@chromium.org <teravest@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-27 05:24:50 +0000 |
commit | a1926404e1e8137c03a787c5b9bfed34ca8e7d6d (patch) | |
tree | 148dc712dc848e14ae664fab74f1070e14efe9f6 /webkit | |
parent | fe08505bfa2ae893909cfa7a14ad0fad769cb03b (diff) | |
download | chromium_src-a1926404e1e8137c03a787c5b9bfed34ca8e7d6d.zip chromium_src-a1926404e1e8137c03a787c5b9bfed34ca8e7d6d.tar.gz chromium_src-a1926404e1e8137c03a787c5b9bfed34ca8e7d6d.tar.bz2 |
Pepper: Remove unused String class
TBR=jam
BUG=
Review URL: https://chromiumcodereview.appspot.com/17751003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/plugins/ppapi/plugin_object.cc | 1 | ||||
-rw-r--r-- | webkit/plugins/ppapi/string.cc | 16 | ||||
-rw-r--r-- | webkit/plugins/ppapi/string.h | 32 | ||||
-rw-r--r-- | webkit/plugins/webkit_plugins.gypi | 2 |
4 files changed, 0 insertions, 51 deletions
diff --git a/webkit/plugins/ppapi/plugin_object.cc b/webkit/plugins/ppapi/plugin_object.cc index 4106495..29dd923 100644 --- a/webkit/plugins/ppapi/plugin_object.cc +++ b/webkit/plugins/ppapi/plugin_object.cc @@ -23,7 +23,6 @@ #include "webkit/plugins/ppapi/npapi_glue.h" #include "webkit/plugins/ppapi/plugin_module.h" #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" -#include "webkit/plugins/ppapi/string.h" using ppapi::PpapiGlobals; using ppapi::StringVar; diff --git a/webkit/plugins/ppapi/string.cc b/webkit/plugins/ppapi/string.cc deleted file mode 100644 index d8b95de..0000000 --- a/webkit/plugins/ppapi/string.cc +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) 2010 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. - -#include "webkit/plugins/ppapi/string.h" - -namespace webkit { -namespace ppapi { - -String::String(const char* str, uint32 len) : value_(str, len) {} - -String::~String() {} - -} // namespace ppapi -} // namespace webkit - diff --git a/webkit/plugins/ppapi/string.h b/webkit/plugins/ppapi/string.h deleted file mode 100644 index cc7d3f9..0000000 --- a/webkit/plugins/ppapi/string.h +++ /dev/null @@ -1,32 +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 WEBKIT_GLUE_PLUGINS_PEPPER_STRING_H_ -#define WEBKIT_GLUE_PLUGINS_PEPPER_STRING_H_ - -#include <string> - -#include "base/basictypes.h" -#include "base/memory/ref_counted.h" - -namespace webkit { -namespace ppapi { - -class String : public base::RefCountedThreadSafe<String> { - public: - String(const char* str, uint32 len); - virtual ~String(); - - const std::string& value() const { return value_; } - - private: - std::string value_; - - DISALLOW_COPY_AND_ASSIGN(String); -}; - -} // namespace ppapi -} // namespace webkit - -#endif // WEBKIT_GLUE_PLUGINS_PEPPER_STRING_H_ diff --git a/webkit/plugins/webkit_plugins.gypi b/webkit/plugins/webkit_plugins.gypi index f1a217c..f75499a 100644 --- a/webkit/plugins/webkit_plugins.gypi +++ b/webkit/plugins/webkit_plugins.gypi @@ -157,8 +157,6 @@ '../plugins/ppapi/resource_creation_impl.h', '../plugins/ppapi/resource_helper.cc', '../plugins/ppapi/resource_helper.h', - '../plugins/ppapi/string.cc', - '../plugins/ppapi/string.h', '../plugins/ppapi/url_response_info_util.cc', '../plugins/ppapi/url_response_info_util.h', '../plugins/ppapi/url_request_info_util.cc', |