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

Side by Side Diff: src/base/platform/platform-cygwin.cc

Issue 1371083003: [presubmit] Enable readability/namespace linter checking. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project 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 // Platform-specific code for Cygwin goes here. For the POSIX-compatible 5 // Platform-specific code for Cygwin goes here. For the POSIX-compatible
6 // parts, the implementation is in platform-posix.cc. 6 // parts, the implementation is in platform-posix.cc.
7 7
8 #include <errno.h> 8 #include <errno.h>
9 #include <pthread.h> 9 #include <pthread.h>
10 #include <semaphore.h> 10 #include <semaphore.h>
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 bool VirtualMemory::ReleaseRegion(void* base, size_t size) { 245 bool VirtualMemory::ReleaseRegion(void* base, size_t size) {
246 return VirtualFree(base, 0, MEM_RELEASE) != 0; 246 return VirtualFree(base, 0, MEM_RELEASE) != 0;
247 } 247 }
248 248
249 249
250 bool VirtualMemory::HasLazyCommits() { 250 bool VirtualMemory::HasLazyCommits() {
251 // TODO(alph): implement for the platform. 251 // TODO(alph): implement for the platform.
252 return false; 252 return false;
253 } 253 }
254 254
255 } } // namespace v8::base 255 } // namespace base
256 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698