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

Unified Diff: ppapi/shared_impl/private/net_address_private_impl_constants.cc

Issue 15600004: move kInvalidNetAddress to constants file for split_link (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/shared_impl/private/net_address_private_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/private/net_address_private_impl_constants.cc
diff --git a/ppapi/shared_impl/private/net_address_private_impl_constants.cc b/ppapi/shared_impl/private/net_address_private_impl_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..44cc4d38b5f4e7274367a97dab427c204e3f195d
--- /dev/null
+++ b/ppapi/shared_impl/private/net_address_private_impl_constants.cc
@@ -0,0 +1,16 @@
+// Copyright (c) 2012 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 "ppapi/shared_impl/private/net_address_private_impl.h"
+
+#include "ppapi/c/private/ppb_net_address_private.h"
+
+namespace ppapi {
+
+#if !defined(OS_NACL)
+// static
+const PP_NetAddress_Private NetAddressPrivateImpl::kInvalidNetAddress = { 0 };
+#endif // !defined(OS_NACL)
+
+} // namespace ppapi
« no previous file with comments | « ppapi/shared_impl/private/net_address_private_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698