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

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

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
« no previous file with comments | « experimental/c_salt/npapi/npp_gate.cc ('k') | experimental/c_salt/npapi/scoped_npid_to_string_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/c_salt/npapi/scoped_npid_to_string_converter.h
diff --git a/experimental/c_salt/npapi/scoped_npid_to_string_converter.h b/experimental/c_salt/npapi/scoped_npid_to_string_converter.h
deleted file mode 100644
index 9f49f05748e42d4b9846505d3b7c83d0abff4fea..0000000000000000000000000000000000000000
--- a/experimental/c_salt/npapi/scoped_npid_to_string_converter.h
+++ /dev/null
@@ -1,32 +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.
-
-#ifndef C_SALT_NPAPI_SCOPED_NPID_TO_STRING_CONVERTER_H_
-#define C_SALT_NPAPI_SCOPED_NPID_TO_STRING_CONVERTER_H_
-
-#include <nacl/nacl_npapi.h>
-#include <nacl/npruntime.h>
-
-#include <string>
-
-namespace c_salt {
-namespace npapi {
-
-// A small helper class that converts an NPIdentifier into a std::string.
-// It follows the RAII pattern: when the class goes out of scope, the memory
-// used to get the string is freed with NPN_MemFree().
-class ScopedNPIdToStringConverter {
- public:
- explicit ScopedNPIdToStringConverter(const NPIdentifier& np_id);
- ~ScopedNPIdToStringConverter();
- const std::string& string_value() const;
- private:
- NPUTF8* np_string_;
- std::string string_value_;
-};
-
-} // namespace npapi
-} // namespace c_salt
-
-#endif // C_SALT_NPAPI_SCOPED_NPID_TO_STRING_CONVERTER_H_
« no previous file with comments | « experimental/c_salt/npapi/npp_gate.cc ('k') | experimental/c_salt/npapi/scoped_npid_to_string_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698