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

Unified Diff: ppapi/cpp/dev/transport_dev.h

Issue 10454058: Remove PPB_Transport_Dev API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « ppapi/c/dev/ppb_transport_dev.h ('k') | ppapi/cpp/dev/transport_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/transport_dev.h
diff --git a/ppapi/cpp/dev/transport_dev.h b/ppapi/cpp/dev/transport_dev.h
deleted file mode 100644
index 8545583681e2708b7eb0afa1ac6002e26d16a689..0000000000000000000000000000000000000000
--- a/ppapi/cpp/dev/transport_dev.h
+++ /dev/null
@@ -1,37 +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 PPAPI_CPP_DEV_TRANSPORT_DEV_H_
-#define PPAPI_CPP_DEV_TRANSPORT_DEV_H_
-
-#include "ppapi/c/dev/ppb_transport_dev.h"
-#include "ppapi/cpp/completion_callback.h"
-#include "ppapi/cpp/resource.h"
-
-namespace pp {
-
-class InstanceHandle;
-class Var;
-
-class Transport_Dev : public Resource {
- public:
- Transport_Dev(const InstanceHandle& instance,
- const char* name,
- PP_TransportType type);
-
- bool IsWritable();
- int32_t SetProperty(PP_TransportProperty property, const Var& value);
- int32_t Connect(const CompletionCallback& cc);
- int32_t GetNextAddress(pp::Var* address, const CompletionCallback& cc);
- int32_t ReceiveRemoteAddress(const pp::Var& address);
- int32_t Recv(void* data, uint32_t len,
- const CompletionCallback& cc);
- int32_t Send(const void* data, uint32_t len,
- const CompletionCallback& cb);
- int32_t Close();
-};
-
-} // namespace pp
-
-#endif // PPAPI_CPP_DEV_TRANSPORT_DEV_H_
« no previous file with comments | « ppapi/c/dev/ppb_transport_dev.h ('k') | ppapi/cpp/dev/transport_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698