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

Unified Diff: chrome/browser/chromeos/drive/file_system.h

Issue 150113002: drive: Also lock SearchOperation when locking ChangeListLoader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
Index: chrome/browser/chromeos/drive/file_system.h
diff --git a/chrome/browser/chromeos/drive/file_system.h b/chrome/browser/chromeos/drive/file_system.h
index 9d137302e80150b7b996a1c31bd9e6e33dfcfe86..da003fe1c38c33a9b6011ea7dcf28610d5930750 100644
--- a/chrome/browser/chromeos/drive/file_system.h
+++ b/chrome/browser/chromeos/drive/file_system.h
@@ -37,6 +37,7 @@ class JobScheduler;
namespace internal {
class ChangeListLoader;
class FileCache;
+class LoaderController;
class ResourceMetadata;
class SyncClient;
} // namespace internal
@@ -255,6 +256,9 @@ class FileSystem : public FileSystemInterface,
// Error of the last update check.
FileError last_update_check_error_;
+ // Used to control ChangeListLoader.
+ scoped_ptr<internal::LoaderController> loader_controller_;
+
// The loader is used to load the change lists.
scoped_ptr<internal::ChangeListLoader> change_list_loader_;
« no previous file with comments | « chrome/browser/chromeos/drive/change_list_loader_unittest.cc ('k') | chrome/browser/chromeos/drive/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698