commit | 374612fededf80cba440a14dd8dc0a1e327741dc | [log] [tgz] |
---|---|---|
author | Francois Doray <[email protected]> | Thu Jun 27 16:33:31 2019 |
committer | Commit Bot <[email protected]> | Thu Jun 27 16:33:31 2019 |
tree | 8ac9aa472e2014dd2744e57f4e58e67902bf6eff | |
parent | bdb2e80550099f087aa5af29eaba1121bc1c1c62 [diff] [blame] |
[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.