1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "base/memory/protected_memory.h" 6 #include "base/synchronization/lock.h" 7 8 namespace base { 9 10 #if !defined(COMPONENT_BUILD) 11 PROTECTED_MEMORY_SECTION int AutoWritableMemory::writers = 0; 12 #endif // !defined(COMPONENT_BUILD) 13 14 base::LazyInstance<Lock>::Leaky AutoWritableMemory::writers_lock = 15 LAZY_INSTANCE_INITIALIZER; 16 17 } // namespace base 18