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

Unified Diff: sync/syncable/scoped_kernel_lock.h

Issue 1057663002: [Sync] Eliminate friends from Directory by exposing kernel via accessor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes from review. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/syncable/on_disk_directory_backing_store.h ('k') | sync/syncable/scoped_kernel_lock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/scoped_kernel_lock.h
diff --git a/sync/syncable/scoped_kernel_lock.h b/sync/syncable/scoped_kernel_lock.h
index affc375ab811c7498dc93294e0fa786c36e5bb40..c684810c062ace7ceead062af195a32db192e41b 100644
--- a/sync/syncable/scoped_kernel_lock.h
+++ b/sync/syncable/scoped_kernel_lock.h
@@ -19,7 +19,7 @@ class ScopedKernelLock {
~ScopedKernelLock();
base::AutoLock scoped_lock_;
- Directory* const dir_;
+ const Directory* const dir_;
DISALLOW_COPY_AND_ASSIGN(ScopedKernelLock);
};
« no previous file with comments | « sync/syncable/on_disk_directory_backing_store.h ('k') | sync/syncable/scoped_kernel_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698