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
3 // found in the LICENSE file.
5 #include "sync/syncable/scoped_kernel_lock.h"
7 #include "sync/syncable/directory.h"
12 ScopedKernelLock::ScopedKernelLock(const Directory
* dir
)
13 : scoped_lock_(dir
->kernel()->mutex
), dir_(dir
) {
16 ScopedKernelLock::~ScopedKernelLock() {}
18 } // namespace syncable