summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/drive/file_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/drive/file_system.h')
-rw-r--r--chrome/browser/chromeos/drive/file_system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/drive/file_system.h b/chrome/browser/chromeos/drive/file_system.h
index c96594a..7d091ab 100644
--- a/chrome/browser/chromeos/drive/file_system.h
+++ b/chrome/browser/chromeos/drive/file_system.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
+#include "base/threading/thread_checker.h"
#include "chrome/browser/chromeos/drive/change_list_loader_observer.h"
#include "chrome/browser/chromeos/drive/file_system/operation_delegate.h"
#include "chrome/browser/chromeos/drive/file_system_interface.h"
@@ -294,6 +295,8 @@ class FileSystem : public FileSystemInterface,
get_file_for_saving_operation_;
scoped_ptr<file_system::SetPropertyOperation> set_property_operation_;
+ base::ThreadChecker thread_checker_;
+
// Note: This should remain the last member so it'll be destroyed and
// invalidate the weak pointers before any other members are destroyed.
base::WeakPtrFactory<FileSystem> weak_ptr_factory_;