OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/extensions/api/image_writer_private/write_from_url_oper
ation.h" | |
6 | |
7 #include "base/threading/sequenced_worker_pool.h" | |
8 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h" | 5 #include "chrome/browser/extensions/api/image_writer_private/error_messages.h" |
9 #include "chrome/browser/extensions/api/image_writer_private/test_utils.h" | 6 #include "chrome/browser/extensions/api/image_writer_private/test_utils.h" |
| 7 #include "chrome/browser/extensions/api/image_writer_private/write_from_url_oper
ation.h" |
10 #include "chrome/test/base/testing_profile.h" | 8 #include "chrome/test/base/testing_profile.h" |
11 #include "content/public/browser/browser_thread.h" | 9 #include "content/public/browser/browser_thread.h" |
12 #include "net/url_request/test_url_request_interceptor.h" | 10 #include "net/url_request/test_url_request_interceptor.h" |
13 | 11 |
14 namespace extensions { | 12 namespace extensions { |
15 namespace image_writer { | 13 namespace image_writer { |
16 | 14 |
17 namespace { | 15 namespace { |
18 | 16 |
19 using content::BrowserThread; | 17 using content::BrowserThread; |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 | 206 |
209 base::RunLoop().RunUntilIdle(); | 207 base::RunLoop().RunUntilIdle(); |
210 | 208 |
211 operation->Cancel(); | 209 operation->Cancel(); |
212 } | 210 } |
213 | 211 |
214 } // namespace | 212 } // namespace |
215 | 213 |
216 } // namespace image_writer | 214 } // namespace image_writer |
217 } // namespace extensions | 215 } // namespace extensions |
OLD | NEW |