projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
browser
/
extensions
/
api
/
image_writer_private
/
image_writer_utility_client.cc
diff --git
a/src/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc
b/src/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc
index
deff3ab
..
9c5c09b
100644
(file)
--- a/
src/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc
+++ b/
src/chrome/browser/extensions/api/image_writer_private/image_writer_utility_client.cc
@@
-20,7
+20,7
@@
void ImageWriterUtilityClient::Write(const ProgressCallback& progress_callback,
const ErrorCallback& error_callback,
const base::FilePath& source,
const base::FilePath& target) {
const ErrorCallback& error_callback,
const base::FilePath& source,
const base::FilePath& target) {
- DCHECK
(BrowserThread::CurrentlyOn(BrowserThread::IO)
);
+ DCHECK
_CURRENTLY_ON(BrowserThread::IO
);
StartHost();
StartHost();
@@
-40,7
+40,7
@@
void ImageWriterUtilityClient::Verify(const ProgressCallback& progress_callback,
const ErrorCallback& error_callback,
const base::FilePath& source,
const base::FilePath& target) {
const ErrorCallback& error_callback,
const base::FilePath& source,
const base::FilePath& target) {
- DCHECK
(BrowserThread::CurrentlyOn(BrowserThread::IO)
);
+ DCHECK
_CURRENTLY_ON(BrowserThread::IO
);
StartHost();
StartHost();
@@
-56,7
+56,7
@@
void ImageWriterUtilityClient::Verify(const ProgressCallback& progress_callback,
}
void ImageWriterUtilityClient::Cancel(const CancelCallback& cancel_callback) {
}
void ImageWriterUtilityClient::Cancel(const CancelCallback& cancel_callback) {
- DCHECK
(BrowserThread::CurrentlyOn(BrowserThread::IO)
);
+ DCHECK
_CURRENTLY_ON(BrowserThread::IO
);
if (!utility_process_host_) {
// If we haven't connected, there is nothing to cancel.
if (!utility_process_host_) {
// If we haven't connected, there is nothing to cancel.