Index: components/drive/service/drive_api_service.h |
diff --git a/components/drive/service/drive_api_service.h b/components/drive/service/drive_api_service.h |
index b83e0b06c49db3d0beec3dba9447da20c82f2a2c..78d8092c2d8204c5a95ea741930b77cb4331e773 100644 |
--- a/components/drive/service/drive_api_service.h |
+++ b/components/drive/service/drive_api_service.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "base/observer_list.h" |
+#include "base/sequence_checker.h" |
#include "base/threading/thread_checker.h" |
#include "components/drive/service/drive_service_interface.h" |
#include "google_apis/drive/auth_service_interface.h" |
@@ -44,8 +45,7 @@ class URLRequestContextGetter; |
namespace drive { |
// Builder for batch request returned by |DriveAPIService|. |
-class BatchRequestConfigurator : public BatchRequestConfiguratorInterface, |
- public base::NonThreadSafe { |
+class BatchRequestConfigurator : public BatchRequestConfiguratorInterface { |
public: |
BatchRequestConfigurator( |
const base::WeakPtr<google_apis::drive::BatchUploadRequest>& |
@@ -82,6 +82,8 @@ class BatchRequestConfigurator : public BatchRequestConfiguratorInterface, |
google_apis::DriveApiUrlGenerator url_generator_; |
google_apis::CancelCallback cancel_callback_; |
+ SEQUENCE_CHECKER(sequence_checker_); |
+ |
DISALLOW_COPY_AND_ASSIGN(BatchRequestConfigurator); |
}; |