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

Side by Side Diff: third_party/libjingle/overrides/allocator_shim/allocator_stub.cc

Issue 1045863002: Make checkdeps.py check third_party. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "allocator_shim/allocator_stub.h" 5 #include "third_party/libjingle/overrides/allocator_shim/allocator_stub.h"
6 6
7 #if defined(OS_MACOSX) || defined(OS_ANDROID) 7 #if defined(OS_MACOSX) || defined(OS_ANDROID)
8 #error "The allocator stub isn't supported (or needed) on mac or android." 8 #error "The allocator stub isn't supported (or needed) on mac or android."
9 #endif 9 #endif
10 10
11 void* Allocate(std::size_t n) { 11 void* Allocate(std::size_t n) {
12 return operator new(n); 12 return operator new(n);
13 } 13 }
14 14
15 void Dellocate(void* p) { 15 void Dellocate(void* p) {
16 return operator delete(p); 16 return operator delete(p);
17 } 17 }
OLDNEW
« no previous file with comments | « third_party/libjingle/overrides/allocator_shim/allocator_proxy.cc ('k') | third_party/libjingle/overrides/init_webrtc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698