Remove linux_chromium_gn_dbg from the chromium CQ.
[chromium-blink-merge.git] / sync / syncable / scoped_kernel_lock.cc
bloba2d75729249fb4e0d09e4750f30e60d4219d4b35
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"
9 namespace syncer {
10 namespace syncable {
12 ScopedKernelLock::ScopedKernelLock(const Directory* dir)
13 : scoped_lock_(dir->kernel()->mutex), dir_(dir) {
16 ScopedKernelLock::~ScopedKernelLock() {}
18 } // namespace syncable
19 } // namespace syncer