[base] Remove deprecated base::CancellationFlag.

Usage is replaced with base::AtomicFlag.

[email protected]

Bug: 630251
Change-Id: Ib2c1f81e36bedebdbb8ca8876500e0b845db651d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1679062
Commit-Queue: François Doray <[email protected]>
Reviewed-by: Gabriel Charette <[email protected]>
Cr-Commit-Position: refs/heads/master@{#672928}
diff --git a/components/drive/drive_api_util.h b/components/drive/drive_api_util.h
index fc562ce..cc94229 100644
--- a/components/drive/drive_api_util.h
+++ b/components/drive/drive_api_util.h
@@ -14,7 +14,7 @@
 #include "google_apis/drive/drive_common_callbacks.h"
 
 namespace base {
-class CancellationFlag;
+class AtomicFlag;
 class Location;
 class FilePath;
 class TaskRunner;
@@ -58,7 +58,7 @@
 // Returns the (base-16 encoded) MD5 digest of the file content at |file_path|,
 // or an empty string if an error is found.
 std::string GetMd5Digest(const base::FilePath& file_path,
-                         const base::CancellationFlag* cancellation_flag);
+                         const base::AtomicFlag* cancellation_flag);
 
 // Returns preferred file extension for hosted documents which have given mime
 // type.