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

Unified Diff: experimental/c_salt/npapi/scoped_npid_to_string_converter.cc

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 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
Index: experimental/c_salt/npapi/scoped_npid_to_string_converter.cc
diff --git a/experimental/c_salt/npapi/scoped_npid_to_string_converter.cc b/experimental/c_salt/npapi/scoped_npid_to_string_converter.cc
deleted file mode 100644
index 0aa8f0e33f669d826659a4f9619f691b9a31042d..0000000000000000000000000000000000000000
--- a/experimental/c_salt/npapi/scoped_npid_to_string_converter.cc
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2010 The Native Client 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 "c_salt/npapi/scoped_npid_to_string_converter.h"
-
-namespace c_salt {
-namespace npapi {
-
-ScopedNPIdToStringConverter::ScopedNPIdToStringConverter(
- const NPIdentifier& np_id) : np_string_(NPN_UTF8FromIdentifier(np_id)) {
- string_value_ = static_cast<const char*>(np_string_);
-}
-
-ScopedNPIdToStringConverter::~ScopedNPIdToStringConverter() {
- NPN_MemFree(np_string_);
-}
-
-const std::string& ScopedNPIdToStringConverter::string_value() const {
- return string_value_;
-}
-
-} // namespace npapi
-} // namespace c_salt
« no previous file with comments | « experimental/c_salt/npapi/scoped_npid_to_string_converter.h ('k') | experimental/c_salt/npapi/variant_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698