OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #import "ios/chrome/browser/snapshots/snapshot_cache.h" | 5 #import "ios/chrome/browser/snapshots/snapshot_cache.h" |
6 | 6 |
7 #import <UIKit/UIKit.h> | 7 #import <UIKit/UIKit.h> |
8 | 8 |
9 #include "base/critical_closure.h" | 9 #include "base/critical_closure.h" |
10 #include "base/mac/bind_objc_block.h" | |
11 #include "base/files/file_enumerator.h" | 10 #include "base/files/file_enumerator.h" |
12 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
13 #include "base/files/file_util.h" | 12 #include "base/files/file_util.h" |
14 #include "base/location.h" | 13 #include "base/location.h" |
15 #include "base/logging.h" | 14 #include "base/logging.h" |
16 #include "base/mac/bind_objc_block.h" | 15 #include "base/mac/bind_objc_block.h" |
17 #include "base/mac/scoped_cftyperef.h" | 16 #include "base/mac/scoped_cftyperef.h" |
18 #include "base/strings/sys_string_conversions.h" | 17 #include "base/strings/sys_string_conversions.h" |
19 #include "base/task_runner_util.h" | 18 #include "base/task_runner_util.h" |
20 #include "base/threading/thread_restrictions.h" | 19 #include "base/threading/thread_restrictions.h" |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
500 backgroundingImageSessionId_.reset(); | 499 backgroundingImageSessionId_.reset(); |
501 } | 500 } |
502 } | 501 } |
503 | 502 |
504 web::WebThread::PostBlockingPoolTask( | 503 web::WebThread::PostBlockingPoolTask( |
505 FROM_HERE, base::Bind(&ConvertAndSaveGreyImage, colorImagePath, | 504 FROM_HERE, base::Bind(&ConvertAndSaveGreyImage, colorImagePath, |
506 greyImagePath, backgroundingColorImage_)); | 505 greyImagePath, backgroundingColorImage_)); |
507 } | 506 } |
508 | 507 |
509 @end | 508 @end |
OLD | NEW |