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

Unified Diff: third_party/libjingle/overrides/allocator_shim/allocator_stub.h

Issue 1146123002: Remove unused libpeerconnection code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert a couple of libjingle.gyp changes Created 5 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
Index: third_party/libjingle/overrides/allocator_shim/allocator_stub.h
diff --git a/third_party/libjingle/overrides/allocator_shim/allocator_stub.h b/third_party/libjingle/overrides/allocator_shim/allocator_stub.h
deleted file mode 100644
index 20b9c7d42d65a7f0b2b403a4b33fe2ff3308e110..0000000000000000000000000000000000000000
--- a/third_party/libjingle/overrides/allocator_shim/allocator_stub.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2013 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 THIRD_PARTY_LIBJINGLE_OVERRIDES_ALLOCATOR_SHIM_ALLOCATOR_STUB_H_
-#define THIRD_PARTY_LIBJINGLE_OVERRIDES_ALLOCATOR_SHIM_ALLOCATOR_STUB_H_
-
-#include <new>
-
-#include "base/basictypes.h"
-
-#if !defined(OS_MACOSX) && !defined(OS_ANDROID)
-
-typedef void* (*AllocateFunction)(std::size_t);
-typedef void (*DellocateFunction)(void*);
-
-// The stub implementations that forward new / delete calls to the allocator
-// in the current binary (i.e. tcmalloc).
-void* Allocate(std::size_t n);
-void Dellocate(void* p);
-
-#endif // OS_MACOSX && OS_ANDROID
-
-#endif // THIRD_PARTY_LIBJINGLE_OVERRIDES_ALLOCATOR_SHIM_ALLOCATOR_STUB_H_

Powered by Google App Engine
This is Rietveld 408576698